home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CD Fun House 7
/
CD FunHouse 7 For The Macintosh (Wayzata)(1992).iso
/
• Word Games •
/
HangMan Plus v2.0
/
HangMan Plus v2.0.rsrc
/
CODE_3.txt
< prev
next >
Wrap
Text File
|
1991-09-24
|
375KB
|
6,855 lines
# near model CODE resource
# jump table entries: 192-207 (16 of them)
fn00000000:
00000000 4E56 0000 link A6, 0
00000004 0CAE 0000 3A98 0008 cmpi.l [A6 + 0x8], 0x3A98
0000000C 640C bcc +0xE /* 0000001A */
0000000E 3F2E 000A move.w -[A7], [A6 + 0xA]
00000012 4EBA 01C4 jsr [PC + 0x1C4 /* 000001D8 */]
00000016 548F addq.l A7, 2
00000018 601E bra +0x20 /* 00000038 */
label0000001A:
0000001A 0CAE 0080 0000 0008 cmpi.l [A6 + 0x8], 0x800000
00000022 6304 bls +0x6 /* 00000028 */
00000024 7000 moveq.l D0, 0x00
00000026 6010 bra +0x12 /* 00000038 */
label00000028:
00000028 202E 0008 move.l D0, [A6 + 0x8]
0000002C 5480 addq.l D0, 2
0000002E A11E syscall NewPtr, flags=1
00000030 6B04 bmi +0x6 /* 00000036 */
00000032 30FC FFFF move.w [A0]+, 0xFFFF
label00000036:
00000036 2008 move.l D0, A0
label00000038:
00000038 4E5E unlink A6
0000003A 4E75 rts
0000003C 4E56 FFFC link A6, -0x0004
00000040 0CAE 0080 0000 000C cmpi.l [A6 + 0xC], 0x800000
00000048 6304 bls +0x6 /* 0000004E */
0000004A 7000 moveq.l D0, 0x00
0000004C 606A bra +0x6C /* 000000B8 */
label0000004E:
0000004E 082E 0000 000F btst.b [A6 + 0xF], 0x0
00000054 6704 beq +0x6 /* 0000005A */
00000056 52AE 000C addq.l [A6 + 0xC], 1
label0000005A:
0000005A 2F2E 000C move.l -[A7], [A6 + 0xC]
0000005E 2F2E 0008 move.l -[A7], [A6 + 0x8]
00000062 4EAD 0042 jsr [A5 + 0x42 /* export_4 */]
00000066 2D40 000C move.l [A6 + 0xC], D0
0000006A 0C80 0080 0000 cmpi.l D0, 0x800000
00000070 6304 bls +0x6 /* 00000076 */
00000072 7000 moveq.l D0, 0x00
00000074 6042 bra +0x44 /* 000000B8 */
label00000076:
00000076 0CAE 0000 3A98 000C cmpi.l [A6 + 0xC], 0x3A98
0000007E 6428 bcc +0x2A /* 000000A8 */
00000080 3F2E 000E move.w -[A7], [A6 + 0xE]
00000084 4EBA 0152 jsr [PC + 0x152 /* 000001D8 */]
00000088 548F addq.l A7, 2
0000008A 2D40 FFFC move.l [A6 - 0x4], D0
0000008E 6712 beq +0x14 /* 000000A2 */
00000090 2F2E 000C move.l -[A7], [A6 + 0xC]
00000094 4267 clr.w -[A7]
00000096 2F2E FFFC move.l -[A7], [A6 - 0x4]
0000009A 4EBA 2EE4 jsr [PC + 0x2EE4 /* 00002F80 */]
0000009E 4FEF 000A lea.l A7, [A7 + 0xA]
label000000A2:
000000A2 202E FFFC move.l D0, [A6 - 0x4]
000000A6 6010 bra +0x12 /* 000000B8 */
label000000A8:
000000A8 202E 000C move.l D0, [A6 + 0xC]
000000AC 5480 addq.l D0, 2
000000AE A31E syscall NewPtrClear, flags=3
000000B0 6B04 bmi +0x6 /* 000000B6 */
000000B2 30FC FFFF move.w [A0]+, 0xFFFF
label000000B6:
000000B6 2008 move.l D0, A0
label000000B8:
000000B8 4E5E unlink A6
000000BA 4E75 rts
000000BC 4E56 0000 link A6, 0
000000C0 48E7 0718 movem.l -[A7], D5,D6,D7,A3,A4
000000C4 2E2E 000C move.l D7, [A6 + 0xC]
000000C8 286E 0008 movea.l A4, [A6 + 0x8]
000000CC 0C87 0080 0000 cmpi.l D7, 0x800000
000000D2 6306 bls +0x8 /* 000000DA */
000000D4 7000 moveq.l D0, 0x00
000000D6 6000 00E2 bra +0xE4 /* 000001BA */
label000000DA:
000000DA 200C move.l D0, A4
000000DC 660C bne +0xE /* 000000EA */
000000DE 2F07 move.l -[A7], D7
000000E0 4EBA FF1E jsr [PC - 0xE2 /* 00000000 */]
000000E4 588F addq.l A7, 4
000000E6 6000 00D2 bra +0xD4 /* 000001BA */
label000000EA:
000000EA 4A87 tst.l D7
000000EC 660E bne +0x10 /* 000000FC */
000000EE 2F0C move.l -[A7], A4
000000F0 4EBA 00D0 jsr [PC + 0xD0 /* 000001C2 */]
000000F4 588F addq.l A7, 4
000000F6 7000 moveq.l D0, 0x00
000000F8 6000 00C0 bra +0xC2 /* 000001BA */
label000000FC:
000000FC 0807 0000 btst.b D7, 0x0
00000100 6702 beq +0x4 /* 00000104 */
00000102 5287 addq.l D7, 1
label00000104:
00000104 204C movea.l A0, A4
00000106 7000 moveq.l D0, 0x00
00000108 3020 move.w D0, -[A0]
0000010A 4640 not.w D0
0000010C 6602 bne +0x4 /* 00000110 */
0000010E A021 syscall GetPtrSize
label00000110:
00000110 5580 subq.l D0, 2
00000112 2C00 move.l D6, D0
00000114 BC87 cmp.l D6, D7
00000116 6314 bls +0x16 /* 0000012C */
00000118 2A07 move.l D5, D7
0000011A 0C86 0000 3A98 cmpi.l D6, 0x3A98
00000120 6526 bcs +0x28 /* 00000148 */
00000122 0C87 0000 3A98 cmpi.l D7, 0x3A98
00000128 6570 bcs +0x72 /* 0000019A */
0000012A 6062 bra +0x64 /* 0000018E */
label0000012C:
0000012C BC87 cmp.l D6, D7
0000012E 6414 bcc +0x16 /* 00000144 */
00000130 2A06 move.l D5, D6
00000132 0C86 0000 3A98 cmpi.l D6, 0x3A98
00000138 6454 bcc +0x56 /* 0000018E */
0000013A 0C87 0000 3A98 cmpi.l D7, 0x3A98
00000140 6458 bcc +0x5A /* 0000019A */
00000142 6018 bra +0x1A /* 0000015C */
label00000144:
00000144 200C move.l D0, A4
00000146 6072 bra +0x74 /* 000001BA */
label00000148:
00000148 204C movea.l A0, A4
0000014A 3220 move.w D1, -[A0]
0000014C 2006 move.l D0, D6
0000014E 9087 sub.l D0, D7
00000150 D240 add.w D1, D0
00000152 3081 move.w [A0], D1
00000154 4641 not.w D1
00000156 D0C1 add.w A0, D1
00000158 3080 move.w [A0], D0
0000015A 60E8 bra -0x16 /* 00000144 */
label0000015C:
0000015C 224C movea.l A1, A4
0000015E 3021 move.w D0, -[A1]
00000160 4640 not.w D0
00000162 41F1 0000 lea.l A0, [A1 + D0.w]
00000166 3010 move.w D0, [A0]
00000168 6B30 bmi +0x32 /* 0000019A */
0000016A 2B6D F9E0 F9E4 move.l [A5 - 0x61C], [A5 - 0x620]
00000170 7200 moveq.l D1, 0x00
label00000172:
00000172 D041 add.w D0, D1
00000174 3230 0000 move.w D1, [A0 + D0.w]
00000178 6AF8 bpl -0x6 /* 00000172 */
0000017A 3080 move.w [A0], D0
0000017C 2207 move.l D1, D7
0000017E 9286 sub.l D1, D6
00000180 D0C1 add.w A0, D1
00000182 9041 sub.w D0, D1
00000184 6514 bcs +0x16 /* 0000019A */
00000186 6702 beq +0x4 /* 0000018A */
00000188 3080 move.w [A0], D0
label0000018A:
0000018A 9351 sub.w [A1], D1
0000018C 60B6 bra -0x48 /* 00000144 */
label0000018E:
0000018E 204C movea.l A0, A4
00000190 5588 subq.l A0, 2
00000192 2007 move.l D0, D7
00000194 5480 addq.l D0, 2
00000196 A020 syscall SetPtrSize
00000198 6AAA bpl -0x54 /* 00000144 */
label0000019A:
0000019A 2F07 move.l -[A7], D7
0000019C 4EBA FE62 jsr [PC - 0x19E /* 00000000 */]
000001A0 588F addq.l A7, 4
000001A2 2640 movea.l A3, D0
000001A4 200B move.l D0, A3
000001A6 6710 beq +0x12 /* 000001B8 */
000001A8 2005 move.l D0, D5
000001AA 224B movea.l A1, A3
000001AC 204C movea.l A0, A4
000001AE A02E syscall BlockMove/BlockMoveData
000001B0 2F0C move.l -[A7], A4
000001B2 4EBA 000E jsr [PC + 0xE /* 000001C2 */]
000001B6 588F addq.l A7, 4
label000001B8:
000001B8 200B move.l D0, A3
label000001BA:
000001BA 4CDF 18E0 movem.l D5,D6,D7,A3,A4, [A7]+
000001BE 4E5E unlink A6
000001C0 4E75 rts
fn000001C2:
000001C2 4E56 0000 link A6, 0
000001C6 202E 0008 move.l D0, [A6 + 0x8]
000001CA 6708 beq +0xA /* 000001D4 */
000001CC 2040 movea.l A0, D0
000001CE 4660 not.w -[A0]
000001D0 6602 bne +0x4 /* 000001D4 */
000001D2 A01F syscall DisposPtr/DisposePtr
label000001D4:
000001D4 4E5E unlink A6
000001D6 4E75 rts
fn000001D8:
000001D8 4E56 FFF8 link A6, -0x0008
000001DC 2F07 move.l -[A7], D7
000001DE 3E2E 0008 move.w D7, [A6 + 0x8]
000001E2 5647 addq.w D7, 3
000001E4 0887 0000 bclr.b D7, 0x0
000001E8 2D6D F9E0 FFFC move.l [A6 - 0x4], [A5 - 0x620]
000001EE 202D F9E4 move.l D0, [A5 - 0x61C]
000001F2 664C bne +0x4E /* 00000240 */
label000001F4:
000001F4 203C 0000 3AA0 move.l D0, 0x3AA0
000001FA A11E syscall NewPtr, flags=1
000001FC 6B00 0086 bmi +0x88 /* 00000284 */
00000200 317C FFFF 3A9A move.w [A0 + 0x3A9A], 0xFFFF
00000206 216D F9D8 3A9C move.l [A0 + 0x3A9C], [A5 - 0x628]
0000020C 2B48 F9D8 move.l [A5 - 0x628], A0
00000210 2B48 F9E0 move.l [A5 - 0x620], A0
00000214 202D F9DC move.l D0, [A5 - 0x624]
00000218 6606 bne +0x8 /* 00000220 */
0000021A 2008 move.l D0, A0
0000021C 2B40 F9DC move.l [A5 - 0x624], D0
label00000220:
00000220 2240 movea.l A1, D0
00000222 2348 3A9C move.l [A1 + 0x3A9C], A0
00000226 303C 3A9A move.w D0, 0x3A9A
0000022A 3080 move.w [A0], D0
0000022C 6044 bra +0x46 /* 00000272 */
label0000022E:
0000022E 202E FFF8 move.l D0, [A6 - 0x8]
00000232 B0AE FFFC cmp.l D0, [A6 - 0x4]
00000236 67BC beq -0x42 /* 000001F4 */
00000238 2B40 F9E0 move.l [A5 - 0x620], D0
0000023C 2B40 F9E4 move.l [A5 - 0x61C], D0
label00000240:
00000240 2040 movea.l A0, D0
00000242 74FF moveq.l D2, 0xFFFFFFFF
00000244 6018 bra +0x1A /* 0000025E */
label00000246:
00000246 4640 not.w D0
00000248 660E bne +0x10 /* 00000258 */
0000024A 2D68 0002 FFF8 move.l [A6 - 0x8], [A0 + 0x2]
00000250 206D F9E0 movea.l A0, [A5 - 0x620]
00000254 242D F9E4 move.l D2, [A5 - 0x61C]
label00000258:
00000258 D0C0 add.w A0, D0
0000025A B1C2 cmpa.l A0, D2
0000025C 64D0 bcc -0x2E /* 0000022E */
label0000025E:
0000025E 3010 move.w D0, [A0]
00000260 6BE4 bmi -0x1A /* 00000246 */
00000262 7200 moveq.l D1, 0x00
label00000264:
00000264 D041 add.w D0, D1
00000266 3230 0000 move.w D1, [A0 + D0.w]
0000026A 6AF8 bpl -0x6 /* 00000264 */
0000026C 3080 move.w [A0], D0
0000026E B047 cmp.w D0, D7
00000270 65E6 bcs -0x18 /* 00000258 */
label00000272:
00000272 2248 movea.l A1, A0
00000274 D2C7 add.w A1, D7
00000276 2B49 F9E4 move.l [A5 - 0x61C], A1
0000027A 9047 sub.w D0, D7
0000027C 6702 beq +0x4 /* 00000280 */
0000027E 3280 move.w [A1], D0
label00000280:
00000280 4647 not.w D7
00000282 30C7 move.w [A0]+, D7
label00000284:
00000284 2008 move.l D0, A0
00000286 2E1F move.l D7, [A7]+
00000288 4E5E unlink A6
0000028A 4E75 rts
fn0000028C:
0000028C 4E56 0000 link A6, 0
00000290 2F0C move.l -[A7], A4
00000292 0C6D 0021 F9E8 cmpi.w [A5 - 0x618], 0x21 /* '!' */
00000298 6F04 ble +0x6 /* 0000029E */
0000029A 70FF moveq.l D0, 0xFFFFFFFF
0000029C 6030 bra +0x32 /* 000002CE */
label0000029E:
0000029E 302D F9E8 move.w D0, [A5 - 0x618]
000002A2 526D F9E8 addq.w [A5 - 0x618], 1
000002A6 C1FC 0006 muls.w D0, 0x6
000002AA 49ED F9EC lea.l A4, [A5 - 0x614]
000002AE D08C add.l D0, A4
000002B0 2840 movea.l A4, D0
000002B2 28AE 0008 move.l [A4], [A6 + 0x8]
000002B6 4AAD FAB8 tst.l [A5 - 0x548]
000002BA 6610 bne +0x12 /* 000002CC */
000002BC 206D 006C movea.l A0, [A5 + 0x6C]
000002C0 2B48 FAB8 move.l [A5 - 0x548], A0
000002C4 41ED 00E2 lea.l A0, [A5 + 0xE2 /* export_24 */]
000002C8 2B48 006C move.l [A5 + 0x6C], A0
label000002CC:
000002CC 7000 moveq.l D0, 0x00
label000002CE:
000002CE 285F movea.l A4, [A7]+
000002D0 4E5E unlink A6
000002D2 4E75 rts
fn000002D4:
000002D4 4E56 0000 link A6, 0
000002D8 48E7 0018 movem.l -[A7], A3,A4
000002DC 0C6D 0021 F9E8 cmpi.w [A5 - 0x618], 0x21 /* '!' */
000002E2 6F04 ble +0x6 /* 000002E8 */
000002E4 70FF moveq.l D0, 0xFFFFFFFF
000002E6 6060 bra +0x62 /* 00000348 */
label000002E8:
000002E8 302D F9E8 move.w D0, [A5 - 0x618]
000002EC 526D F9E8 addq.w [A5 - 0x618], 1
000002F0 C1FC 0006 muls.w D0, 0x6
000002F4 49ED F9EC lea.l A4, [A5 - 0x614]
000002F8 D08C add.l D0, A4
000002FA 2840 movea.l A4, D0
000002FC 28AE 0008 move.l [A4], [A6 + 0x8]
00000300 397C 0001 0004 move.w [A4 + 0x4], 0x1
00000306 4AAD FABC tst.l [A5 - 0x544]
0000030A 663A bne +0x3C /* 00000346 */
0000030C 303C A9F4 move.w D0, 0xA9F4
00000310 A146 syscall GetTrapAddress, flags=1
00000312 2B48 FABC move.l [A5 - 0x544], A0
00000316 4A78 028E tst.w [0x0000028E /* ROM85 */]
0000031A 6D0C blt +0xE /* 00000328 */
0000031C 41ED 00EA lea.l A0, [A5 + 0xEA /* export_25 */]
00000320 303C A9F4 move.w D0, 0xA9F4
00000324 A047 syscall SetTrapAddress
00000326 601E bra +0x20 /* 00000346 */
label00000328:
00000328 7006 moveq.l D0, 0x06
0000032A A51E syscall NewPtrSys, flags=5
0000032C 2648 movea.l A3, A0
0000032E 36BC 4EF9 move.w [A3], 0x4EF9
00000332 41ED 00EA lea.l A0, [A5 + 0xEA /* export_25 */]
00000336 2748 0002 move.l [A3 + 0x2], A0
0000033A 2B4B FAC0 move.l [A5 - 0x540], A3
0000033E 303C A9F4 move.w D0, 0xA9F4
00000342 204B movea.l A0, A3
00000344 A047 syscall SetTrapAddress
label00000346:
00000346 7000 moveq.l D0, 0x00
label00000348:
00000348 4CDF 1800 movem.l A3,A4, [A7]+
0000034C 4E5E unlink A6
0000034E 4E75 rts
fn00000350:
00000350 4E56 0000 link A6, 0
00000354 2F07 move.l -[A7], D7
00000356 3E2D F9E8 move.w D7, [A5 - 0x618]
0000035A 3B7C 0001 F9E8 move.w [A5 - 0x618], 0x1
00000360 2F2E 0008 move.l -[A7], [A6 + 0x8]
00000364 4EBA FF26 jsr [PC - 0xDA /* 0000028C */]
00000368 3B47 F9E8 move.w [A5 - 0x618], D7
0000036C 2E2E FFFC move.l D7, [A6 - 0x4]
00000370 4E5E unlink A6
00000372 4E75 rts
fn00000374:
00000374 4E56 0000 link A6, 0
00000378 2F07 move.l -[A7], D7
0000037A 3E2D F9E8 move.w D7, [A5 - 0x618]
0000037E 426D F9E8 clr.w [A5 - 0x618]
00000382 2F2E 0008 move.l -[A7], [A6 + 0x8]
00000386 4EBA FF4C jsr [PC - 0xB4 /* 000002D4 */]
0000038A 3B47 F9E8 move.w [A5 - 0x618], D7
0000038E 2E2E FFFC move.l D7, [A6 - 0x4]
00000392 4E5E unlink A6
00000394 4E75 rts
fn00000396:
00000396 4E56 0000 link A6, 0
0000039A 206D 006C movea.l A0, [A5 + 0x6C]
0000039E 4E90 jsr [A0]
000003A0 A9F4 syscall ExitToShell
000003A2 4E5E unlink A6
000003A4 4E75 rts
fn000003A6:
000003A6 4E56 0000 link A6, 0
000003AA A9F4 syscall ExitToShell
000003AC 4E5E unlink A6
000003AE 4E75 rts
export_24:
000003B0 3F3C 0001 move.w -[A7], 0x1
000003B4 4EBA 0012 jsr [PC + 0x12 /* 000003C8 */]
000003B8 548F addq.l A7, 2
000003BA 4E75 rts
export_25:
000003BC 4267 clr.w -[A7]
000003BE 4EBA 0008 jsr [PC + 0x8 /* 000003C8 */]
000003C2 A9F4 syscall ExitToShell
000003C4 548F addq.l A7, 2
000003C6 4E75 rts
fn000003C8:
000003C8 4E56 0000 link A6, 0
000003CC 48E7 0318 movem.l -[A7], D6,D7,A3,A4
000003D0 49ED FAB8 lea.l A4, [A5 - 0x548]
000003D4 200D move.l D0, A5
000003D6 2A78 0904 movea.l A5, [0x00000904 /* CurrentA5 */]
000003DA 2C00 move.l D6, D0
000003DC 4A6E 0008 tst.w [A6 + 0x8]
000003E0 6606 bne +0x8 /* 000003E8 */
000003E2 3B7C 0001 F9EA move.w [A5 - 0x616], 0x1
label000003E8:
000003E8 49ED FAB8 lea.l A4, [A5 - 0x548]
000003EC 7E22 moveq.l D7, 0x22
000003EE 6018 bra +0x1A /* 00000408 */
label000003F0:
000003F0 5D8C subq.l A4, 6
000003F2 2654 movea.l A3, [A4]
000003F4 200B move.l D0, A3
000003F6 6710 beq +0x12 /* 00000408 */
000003F8 4294 clr.l [A4]
000003FA 4A6E 0008 tst.w [A6 + 0x8]
000003FE 6606 bne +0x8 /* 00000406 */
00000400 4A6C 0004 tst.w [A4 + 0x4]
00000404 6702 beq +0x4 /* 00000408 */
label00000406:
00000406 4E93 jsr [A3]
label00000408:
00000408 3007 move.w D0, D7
0000040A 5347 subq.w D7, 1
0000040C 4A40 tst.w D0
0000040E 66E0 bne -0x1E /* 000003F0 */
00000410 4AAD FAC0 tst.l [A5 - 0x540]
00000414 670A beq +0xC /* 00000420 */
00000416 206D FAC0 movea.l A0, [A5 - 0x540]
0000041A A01F syscall DisposPtr/DisposePtr
0000041C 42AD FAC0 clr.l [A5 - 0x540]
label00000420:
00000420 4AAD FABC tst.l [A5 - 0x544]
00000424 670E beq +0x10 /* 00000434 */
00000426 303C A9F4 move.w D0, 0xA9F4
0000042A 206D FABC movea.l A0, [A5 - 0x544]
0000042E A047 syscall SetTrapAddress
00000430 42AD FABC clr.l [A5 - 0x544]
label00000434:
00000434 4AAD FAB8 tst.l [A5 - 0x548]
00000438 6708 beq +0xA /* 00000442 */
0000043A 206D FAB8 movea.l A0, [A5 - 0x548]
0000043E 4E90 jsr [A0]
00000440 6006 bra +0x8 /* 00000448 */
label00000442:
00000442 206D 006C movea.l A0, [A5 + 0x6C]
00000446 4E90 jsr [A0]
label00000448:
00000448 41ED 00F2 lea.l A0, [A5 + 0xF2 /* export_26 */]
0000044C 2B48 FAB8 move.l [A5 - 0x548], A0
00000450 2006 move.l D0, D6
00000452 C18D exg D0, A5
00000454 4CDF 18C0 movem.l D6,D7,A3,A4, [A7]+
00000458 4E5E unlink A6
0000045A 4E75 rts
export_26:
0000045C 4E75 rts
export_27:
0000045E 4E56 FFFE link A6, -0x0002
00000462 486E FFFE pea.l [A6 - 0x2]
00000466 486D FAC4 pea.l [A5 - 0x53C]
0000046A 2F2E 0008 move.l -[A7], [A6 + 0x8]
0000046E 4EBA 4196 jsr [PC + 0x4196 /* 00004606 */]
00000472 4A40 tst.w D0
00000474 4FEF 000C lea.l A7, [A7 + 0xC]
00000478 6E04 bgt +0x6 /* 0000047E */
0000047A 426E FFFE clr.w [A6 - 0x2]
label0000047E:
0000047E 302E FFFE move.w D0, [A6 - 0x2]
00000482 4E5E unlink A6
00000484 4E75 rts
00000486 4E56 0000 link A6, 0
0000048A 3F3C 000A move.w -[A7], 0xA /* '\n' */
0000048E 42A7 clr.l -[A7]
00000490 2F2E 0008 move.l -[A7], [A6 + 0x8]
00000494 4EBA 0006 jsr [PC + 0x6 /* 0000049C */]
00000498 4E5E unlink A6
0000049A 4E75 rts
fn0000049C:
0000049C 4E56 FFFA link A6, -0x0006
000004A0 486E FFFA pea.l [A6 - 0x6]
000004A4 486E FFFC pea.l [A6 - 0x4]
000004A8 3F2E 0010 move.w -[A7], [A6 + 0x10]
000004AC 486D FAC8 pea.l [A5 - 0x538]
000004B0 2F2E 0008 move.l -[A7], [A6 + 0x8]
000004B4 4EBA 4150 jsr [PC + 0x4150 /* 00004606 */]
000004B8 4A40 tst.w D0
000004BA 4FEF 0012 lea.l A7, [A7 + 0x12]
000004BE 6E08 bgt +0xA /* 000004C8 */
000004C0 426E FFFA clr.w [A6 - 0x6]
000004C4 42AE FFFC clr.l [A6 - 0x4]
label000004C8:
000004C8 4AAE 000C tst.l [A6 + 0xC]
000004CC 670E beq +0x10 /* 000004DC */
000004CE 306E FFFA movea.w A0, [A6 - 0x6]
000004D2 D1EE 0008 add.l A0, [A6 + 0x8]
000004D6 226E 000C movea.l A1, [A6 + 0xC]
000004DA 2288 move.l [A1], A0
label000004DC:
000004DC 202E FFFC move.l D0, [A6 - 0x4]
000004E0 4E5E unlink A6
000004E2 4E75 rts
000004E4 4E56 FFFA link A6, -0x0006
000004E8 486E FFFA pea.l [A6 - 0x6]
000004EC 486E FFFC pea.l [A6 - 0x4]
000004F0 3F2E 0010 move.w -[A7], [A6 + 0x10]
000004F4 486D FAD0 pea.l [A5 - 0x530]
000004F8 2F2E 0008 move.l -[A7], [A6 + 0x8]
000004FC 4EBA 4108 jsr [PC + 0x4108 /* 00004606 */]
00000500 4A40 tst.w D0
00000502 4FEF 0012 lea.l A7, [A7 + 0x12]
00000506 6E08 bgt +0xA /* 00000510 */
00000508 426E FFFA clr.w [A6 - 0x6]
0000050C 42AE FFFC clr.l [A6 - 0x4]
label00000510:
00000510 4AAE 000C tst.l [A6 + 0xC]
00000514 670E beq +0x10 /* 00000524 */
00000516 306E FFFA movea.w A0, [A6 - 0x6]
0000051A D1EE 0008 add.l A0, [A6 + 0x8]
0000051E 226E 000C movea.l A1, [A6 + 0xC]
00000522 2288 move.l [A1], A0
label00000524:
00000524 202E FFFC move.l D0, [A6 - 0x4]
00000528 4E5E unlink A6
0000052A 4E75 rts
fn0000052C:
0000052C 4E56 0000 link A6, 0
00000530 2F0C move.l -[A7], A4
00000532 286E 0008 movea.l A4, [A6 + 0x8]
00000536 42AC 0012 clr.l [A4 + 0x12]
0000053A 2F0C move.l -[A7], A4
0000053C 4EBA 3F8C jsr [PC + 0x3F8C /* 000044CA */]
00000540 4A2C 0001 tst.b [A4 + 0x1]
00000544 588F addq.l A7, 4
00000546 6A1A bpl +0x1C /* 00000562 */
00000548 202C 000A move.l D0, [A4 + 0xA]
0000054C 2940 0012 move.l [A4 + 0x12], D0
00000550 D1AC 0016 add.l [A4 + 0x16], D0
00000554 296C 0006 000E move.l [A4 + 0xE], [A4 + 0x6]
0000055A 08AC 0007 0001 bclr.b [A4 + 0x1], 0x7
00000560 6016 bra +0x18 /* 00000578 */
label00000562:
00000562 2F0C move.l -[A7], A4
00000564 4EBA 00CC jsr [PC + 0xCC /* 00000632 */]
00000568 2E8C move.l [A7], A4
0000056A 4EBA 40D6 jsr [PC + 0x40D6 /* 00004642 */]
0000056E 4A40 tst.w D0
00000570 588F addq.l A7, 4
00000572 6704 beq +0x6 /* 00000578 */
00000574 70FF moveq.l D0, 0xFFFFFFFF
00000576 6010 bra +0x12 /* 00000588 */
label00000578:
00000578 53AC 0012 subq.l [A4 + 0x12], 1
0000057C 206C 000E movea.l A0, [A4 + 0xE]
00000580 52AC 000E addq.l [A4 + 0xE], 1
00000584 7000 moveq.l D0, 0x00
00000586 1010 move.b D0, [A0]
label00000588:
00000588 285F movea.l A4, [A7]+
0000058A 4E5E unlink A6
0000058C 4E75 rts
fn0000058E:
0000058E 4E56 0000 link A6, 0
00000592 48E7 0108 movem.l -[A7], D7,A4
00000596 3E2E 0008 move.w D7, [A6 + 0x8]
0000059A 286E 000A movea.l A4, [A6 + 0xA]
0000059E 0814 0003 btst.b [A4], 0x3
000005A2 6642 bne +0x44 /* 000005E6 */
000005A4 2F0C move.l -[A7], A4
000005A6 4EBA 3F22 jsr [PC + 0x3F22 /* 000044CA */]
000005AA 0814 0001 btst.b [A4], 0x1
000005AE 588F addq.l A7, 4
000005B0 6706 beq +0x8 /* 000005B8 */
000005B2 296C 001A 0016 move.l [A4 + 0x16], [A4 + 0x1A]
label000005B8:
000005B8 2F0C move.l -[A7], A4
000005BA 4EBA 0076 jsr [PC + 0x76 /* 00000632 */]
000005BE 4AAC 001E tst.l [A4 + 0x1E]
000005C2 588F addq.l A7, 4
000005C4 6706 beq +0x8 /* 000005CC */
000005C6 7001 moveq.l D0, 0x01
000005C8 2940 0012 move.l [A4 + 0x12], D0
label000005CC:
000005CC 08D4 0003 bset.b [A4], 0x3
000005D0 53AC 0012 subq.l [A4 + 0x12], 1
000005D4 6710 beq +0x12 /* 000005E6 */
000005D6 206C 000E movea.l A0, [A4 + 0xE]
000005DA 52AC 000E addq.l [A4 + 0xE], 1
000005DE 1087 move.b [A0], D7
000005E0 7000 moveq.l D0, 0x00
000005E2 1007 move.b D0, D7
000005E4 6044 bra +0x46 /* 0000062A */
label000005E6:
000005E6 7000 moveq.l D0, 0x00
000005E8 1007 move.b D0, D7
000005EA 3E00 move.w D7, D0
000005EC 206C 000E movea.l A0, [A4 + 0xE]
000005F0 52AC 000E addq.l [A4 + 0xE], 1
000005F4 1080 move.b [A0], D0
000005F6 4AAC 001E tst.l [A4 + 0x1E]
000005FA 671C beq +0x1E /* 00000618 */
000005FC 0C47 0020 cmpi.w D7, 0x20 /* ' ' */
00000600 6D16 blt +0x18 /* 00000618 */
00000602 202C 000E move.l D0, [A4 + 0xE]
00000606 90AC 0006 sub.l D0, [A4 + 0x6]
0000060A B0AC 000A cmp.l D0, [A4 + 0xA]
0000060E 6408 bcc +0xA /* 00000618 */
00000610 7001 moveq.l D0, 0x01
00000612 2940 0012 move.l [A4 + 0x12], D0
00000616 6010 bra +0x12 /* 00000628 */
label00000618:
00000618 2F0C move.l -[A7], A4
0000061A 4EBA 0058 jsr [PC + 0x58 /* 00000674 */]
0000061E 4A40 tst.w D0
00000620 588F addq.l A7, 4
00000622 6704 beq +0x6 /* 00000628 */
00000624 70FF moveq.l D0, 0xFFFFFFFF
00000626 6002 bra +0x4 /* 0000062A */
label00000628:
00000628 3007 move.w D0, D7
label0000062A:
0000062A 4CDF 1080 movem.l D7,A4, [A7]+
0000062E 4E5E unlink A6
00000630 4E75 rts
fn00000632:
00000632 4E56 0000 link A6, 0
00000636 2F0C move.l -[A7], A4
00000638 286E 0008 movea.l A4, [A6 + 0x8]
0000063C 296C 0006 000E move.l [A4 + 0xE], [A4 + 0x6]
00000642 296C 000A 0012 move.l [A4 + 0x12], [A4 + 0xA]
00000648 4A6C 0004 tst.w [A4 + 0x4]
0000064C 6F18 ble +0x1A /* 00000666 */
0000064E 7001 moveq.l D0, 0x01
00000650 B0AC 000A cmp.l D0, [A4 + 0xA]
00000654 6410 bcc +0x12 /* 00000666 */
00000656 2F2C 000A move.l -[A7], [A4 + 0xA]
0000065A 2F2C 0016 move.l -[A7], [A4 + 0x16]
0000065E 4EAD 0052 jsr [A5 + 0x52 /* export_6 */]
00000662 91AC 0012 sub.l [A4 + 0x12], D0
label00000666:
00000666 202C 0012 move.l D0, [A4 + 0x12]
0000066A D1AC 0016 add.l [A4 + 0x16], D0
0000066E 285F movea.l A4, [A7]+
00000670 4E5E unlink A6
00000672 4E75 rts
fn00000674:
00000674 4E56 0000 link A6, 0
00000678 48E7 0108 movem.l -[A7], D7,A4
0000067C 286E 0008 movea.l A4, [A6 + 0x8]
00000680 7E00 moveq.l D7, 0x00
00000682 202C 0012 move.l D0, [A4 + 0x12]
00000686 91AC 0016 sub.l [A4 + 0x16], D0
0000068A 0814 0003 btst.b [A4], 0x3
0000068E 6720 beq +0x22 /* 000006B0 */
00000690 202C 000E move.l D0, [A4 + 0xE]
00000694 90AC 0006 sub.l D0, [A4 + 0x6]
00000698 2940 0012 move.l [A4 + 0x12], D0
0000069C 296C 0006 000E move.l [A4 + 0xE], [A4 + 0x6]
000006A2 0894 0003 bclr.b [A4], 0x3
000006A6 2F0C move.l -[A7], A4
000006A8 4EBA 3FB0 jsr [PC + 0x3FB0 /* 0000465A */]
000006AC 3E00 move.w D7, D0
000006AE 588F addq.l A7, 4
label000006B0:
000006B0 2F0C move.l -[A7], A4
000006B2 4EBA 000E jsr [PC + 0xE /* 000006C2 */]
000006B6 3007 move.w D0, D7
000006B8 4CEE 1080 FFF8 movem.l D7,A4, [A6 - 0x8]
000006BE 4E5E unlink A6
000006C0 4E75 rts
fn000006C2:
000006C2 4E56 0000 link A6, 0
000006C6 2F0C move.l -[A7], A4
000006C8 286E 0008 movea.l A4, [A6 + 0x8]
000006CC 206C 0006 movea.l A0, [A4 + 0x6]
000006D0 D1EC 000A add.l A0, [A4 + 0xA]
000006D4 2948 000E move.l [A4 + 0xE], A0
000006D8 42AC 0012 clr.l [A4 + 0x12]
000006DC 08AC 0007 0001 bclr.b [A4 + 0x1], 0x7
000006E2 285F movea.l A4, [A7]+
000006E4 4E5E unlink A6
000006E6 4E75 rts
000006E8 4EBA 2602 jsr [PC + 0x2602 /* 00002CEC */]
000006EC 2F00 move.l -[A7], D0
000006EE 42A7 clr.l -[A7]
000006F0 4EBA 0006 jsr [PC + 0x6 /* 000006F8 */]
000006F4 508F addq.l A7, 8
000006F6 4E75 rts
fn000006F8:
000006F8 4E56 0000 link A6, 0
000006FC 2F0C move.l -[A7], A4
000006FE 286E 000C movea.l A4, [A6 + 0xC]
00000702 200C move.l D0, A4
00000704 6604 bne +0x6 /* 0000070A */
00000706 7000 moveq.l D0, 0x00
00000708 6052 bra +0x54 /* 0000075C */
label0000070A:
0000070A 4A38 08F2 tst.b [0x000008F2 /* WWExist */]
0000070E 6704 beq +0x6 /* 00000714 */
00000710 4EBA 035A jsr [PC + 0x35A /* 00000A6C */]
label00000714:
00000714 2F0C move.l -[A7], A4
00000716 4EBA 278C jsr [PC + 0x278C /* 00002EA4 */]
0000071A 397C FFFF 0004 move.w [A4 + 0x4], 0xFFFF
00000720 4AAE 0008 tst.l [A6 + 0x8]
00000724 588F addq.l A7, 4
00000726 670A beq +0xC /* 00000732 */
00000728 206E 0008 movea.l A0, [A6 + 0x8]
0000072C 2028 001E move.l D0, [A0 + 0x1E]
00000730 6004 bra +0x6 /* 00000736 */
label00000732:
00000732 4EBA 0502 jsr [PC + 0x502 /* 00000C36 */]
label00000736:
00000736 2940 001E move.l [A4 + 0x1E], D0
0000073A 4878 0200 push.l 0x200
0000073E 3F3C 0001 move.w -[A7], 0x1
00000742 42A7 clr.l -[A7]
00000744 2F0C move.l -[A7], A4
00000746 4EBA 2682 jsr [PC + 0x2682 /* 00002DCA */]
0000074A 41ED 0102 lea.l A0, [A5 + 0x102 /* export_28 */]
0000074E 2948 0022 move.l [A4 + 0x22], A0
00000752 486D 010A pea.l [A5 + 0x10A /* export_29 */]
00000756 4EBA FBF8 jsr [PC - 0x408 /* 00000350 */]
0000075A 200C move.l D0, A4
label0000075C:
0000075C 286E FFFC movea.l A4, [A6 - 0x4]
00000760 4E5E unlink A6
00000762 4E75 rts
00000764 4E56 FFF8 link A6, -0x0008
00000768 486E FFF8 pea.l [A6 - 0x8]
0000076C 2F2E 000C move.l -[A7], [A6 + 0xC]
00000770 4EBA 06B8 jsr [PC + 0x6B8 /* 00000E2A */]
00000774 2E80 move.l [A7], D0
00000776 4EBA 0E8E jsr [PC + 0xE8E /* 00001606 */]
0000077A 70FF moveq.l D0, 0xFFFFFFFF
0000077C D06E 0008 add.w D0, [A6 + 0x8]
00000780 3B40 FB3C move.w [A5 - 0x4C4], D0
00000784 70FF moveq.l D0, 0xFFFFFFFF
00000786 D06E 000A add.w D0, [A6 + 0xA]
0000078A 3B40 FB3A move.w [A5 - 0x4C6], D0
0000078E 486E FFF8 pea.l [A6 - 0x8]
00000792 4EBA 0EE0 jsr [PC + 0xEE0 /* 00001674 */]
00000796 4E5E unlink A6
00000798 4E75 rts
0000079A 4E56 FFF8 link A6, -0x0008
0000079E 486E FFF8 pea.l [A6 - 0x8]
000007A2 2F2E 0010 move.l -[A7], [A6 + 0x10]
000007A6 4EBA 0682 jsr [PC + 0x682 /* 00000E2A */]
000007AA 2E80 move.l [A7], D0
000007AC 4EBA 0E58 jsr [PC + 0xE58 /* 00001606 */]
000007B0 7001 moveq.l D0, 0x01
000007B2 D06D FB3C add.w D0, [A5 - 0x4C4]
000007B6 206E 0008 movea.l A0, [A6 + 0x8]
000007BA 3080 move.w [A0], D0
000007BC 7001 moveq.l D0, 0x01
000007BE D06D FB3A add.w D0, [A5 - 0x4C6]
000007C2 226E 000C movea.l A1, [A6 + 0xC]
000007C6 3280 move.w [A1], D0
000007C8 486E FFF8 pea.l [A6 - 0x8]
000007CC 4EBA 0EA6 jsr [PC + 0xEA6 /* 00001674 */]
000007D0 4E5E unlink A6
000007D2 4E75 rts
000007D4 4E56 FFF8 link A6, -0x0008
000007D8 486E FFF8 pea.l [A6 - 0x8]
000007DC 2F2E 0008 move.l -[A7], [A6 + 0x8]
000007E0 4EBA 0648 jsr [PC + 0x648 /* 00000E2A */]
000007E4 2E80 move.l [A7], D0
000007E6 4EBA 0E1E jsr [PC + 0xE1E /* 00001606 */]
000007EA 3EAD FB3A move.w [A7], [A5 - 0x4C6]
000007EE 4EBA 08D6 jsr [PC + 0x8D6 /* 000010C6 */]
000007F2 486E FFF8 pea.l [A6 - 0x8]
000007F6 4EBA 0E7C jsr [PC + 0xE7C /* 00001674 */]
000007FA 4E5E unlink A6
000007FC 4E75 rts
000007FE 4E56 FFF8 link A6, -0x0008
00000802 486E FFF8 pea.l [A6 - 0x8]
00000806 2F2E 0008 move.l -[A7], [A6 + 0x8]
0000080A 4EBA 061E jsr [PC + 0x61E /* 00000E2A */]
0000080E 2E80 move.l [A7], D0
00000810 4EBA 0DF4 jsr [PC + 0xDF4 /* 00001606 */]
00000814 4EBA 08F0 jsr [PC + 0x8F0 /* 00001106 */]
00000818 486E FFF8 pea.l [A6 - 0x8]
0000081C 4EBA 0E56 jsr [PC + 0xE56 /* 00001674 */]
00000820 4E5E unlink A6
00000822 4E75 rts
00000824 4E56 FFF8 link A6, -0x0008
00000828 2F07 move.l -[A7], D7
0000082A 3E2E 0008 move.w D7, [A6 + 0x8]
0000082E 486E FFF8 pea.l [A6 - 0x8]
00000832 2F2E 000A move.l -[A7], [A6 + 0xA]
00000836 4EBA 05F2 jsr [PC + 0x5F2 /* 00000E2A */]
0000083A 2E80 move.l [A7], D0
0000083C 4EBA 0DC8 jsr [PC + 0xDC8 /* 00001606 */]
00000840 0C47 0001 cmpi.w D7, 0x1
00000844 508F addq.l A7, 8
00000846 6D06 blt +0x8 /* 0000084E */
00000848 BE6D FB38 cmp.w D7, [A5 - 0x4C8]
0000084C 6F02 ble +0x4 /* 00000850 */
label0000084E:
0000084E 7E01 moveq.l D7, 0x01
label00000850:
00000850 3B47 FB3E move.w [A5 - 0x4C2], D7
00000854 486E FFF8 pea.l [A6 - 0x8]
00000858 4EBA 0E1A jsr [PC + 0xE1A /* 00001674 */]
0000085C 2E2E FFF4 move.l D7, [A6 - 0xC]
00000860 4E5E unlink A6
00000862 4E75 rts
00000864 4E56 FFF8 link A6, -0x0008
00000868 486E FFF8 pea.l [A6 - 0x8]
0000086C 2F2E 000A move.l -[A7], [A6 + 0xA]
00000870 4EBA 05B8 jsr [PC + 0x5B8 /* 00000E2A */]
00000874 2E80 move.l [A7], D0
00000876 4EBA 0D8E jsr [PC + 0xD8E /* 00001606 */]
0000087A 08AD 0005 FB58 bclr.b [A5 - 0x4A8], 0x5
00000880 08AD 0006 FB58 bclr.b [A5 - 0x4A8], 0x6
00000886 08AD 0007 FB58 bclr.b [A5 - 0x4A8], 0x7
0000088C 302E 0008 move.w D0, [A6 + 0x8]
00000890 508F addq.l A7, 8
00000892 670E beq +0x10 /* 000008A2 */
00000894 6B22 bmi +0x24 /* 000008B8 */
00000896 5740 subq.w D0, 3
00000898 6718 beq +0x1A /* 000008B2 */
0000089A 6A1C bpl +0x1E /* 000008B8 */
0000089C 5240 addq.w D0, 1
0000089E 6A18 bpl +0x1A /* 000008B8 */
000008A0 6008 bra +0xA /* 000008AA */
label000008A2:
000008A2 08ED 0007 FB58 bset.b [A5 - 0x4A8], 0x7
000008A8 600E bra +0x10 /* 000008B8 */
label000008AA:
000008AA 08ED 0006 FB58 bset.b [A5 - 0x4A8], 0x6
000008B0 6006 bra +0x8 /* 000008B8 */
label000008B2:
000008B2 08ED 0005 FB58 bset.b [A5 - 0x4A8], 0x5
label000008B8:
000008B8 486E FFF8 pea.l [A6 - 0x8]
000008BC 4EBA 0DB6 jsr [PC + 0xDB6 /* 00001674 */]
000008C0 4E5E unlink A6
000008C2 4E75 rts
000008C4 4E56 FFF8 link A6, -0x0008
000008C8 2F0C move.l -[A7], A4
000008CA 2F2E 000A move.l -[A7], [A6 + 0xA]
000008CE 4EBA 055A jsr [PC + 0x55A /* 00000E2A */]
000008D2 2840 movea.l A4, D0
000008D4 486E FFF8 pea.l [A6 - 0x8]
000008D8 2F0C move.l -[A7], A4
000008DA 4EBA 0D2A jsr [PC + 0xD2A /* 00001606 */]
000008DE 4A6E 0008 tst.w [A6 + 0x8]
000008E2 4FEF 000C lea.l A7, [A7 + 0xC]
000008E6 6724 beq +0x26 /* 0000090C */
000008E8 4AAC 0068 tst.l [A4 + 0x68]
000008EC 6632 bne +0x34 /* 00000920 */
000008EE 4878 0034 push.l 0x34 /* '4' */
000008F2 4EBA F70C jsr [PC - 0x8F4 /* 00000000 */]
000008F6 2940 0068 move.l [A4 + 0x68], D0
000008FA 2EAC 0068 move.l [A7], [A4 + 0x68]
000008FE A8EA syscall SetStdProcs
00000900 41ED 0112 lea.l A0, [A5 + 0x112 /* export_30 */]
00000904 226C 0068 movea.l A1, [A4 + 0x68]
00000908 2288 move.l [A1], A0
0000090A 6014 bra +0x16 /* 00000920 */
label0000090C:
0000090C 4AAC 0068 tst.l [A4 + 0x68]
00000910 670E beq +0x10 /* 00000920 */
00000912 2F2C 0068 move.l -[A7], [A4 + 0x68]
00000916 4EBA F8AA jsr [PC - 0x756 /* 000001C2 */]
0000091A 42AC 0068 clr.l [A4 + 0x68]
0000091E 588F addq.l A7, 4
label00000920:
00000920 4267 clr.w -[A7]
00000922 4EBA 07A2 jsr [PC + 0x7A2 /* 000010C6 */]
00000926 486E FFF8 pea.l [A6 - 0x8]
0000092A 4EBA 0D48 jsr [PC + 0xD48 /* 00001674 */]
0000092E 286E FFF4 movea.l A4, [A6 - 0xC]
00000932 4E5E unlink A6
00000934 4E75 rts
fn00000936:
00000936 4E56 0000 link A6, 0
0000093A 2F0C move.l -[A7], A4
0000093C 2F2E 0008 move.l -[A7], [A6 + 0x8]
00000940 4EBA 04E8 jsr [PC + 0x4E8 /* 00000E2A */]
00000944 2840 movea.l A4, D0
00000946 4297 clr.l [A7]
00000948 A924 syscall FrontWindow
0000094A B9DF cmpa.l A4, [A7]+
0000094C 6704 beq +0x6 /* 00000952 */
0000094E 2F0C move.l -[A7], A4
00000950 A91F syscall SelectWindow
label00000952:
00000952 2F0C move.l -[A7], A4
00000954 A915 syscall ShowWindow
00000956 285F movea.l A4, [A7]+
00000958 4E5E unlink A6
0000095A 4E75 rts
0000095C 4E56 0000 link A6, 0
00000960 2F2E 0008 move.l -[A7], [A6 + 0x8]
00000964 4EBA 04C4 jsr [PC + 0x4C4 /* 00000E2A */]
00000968 2E80 move.l [A7], D0
0000096A A916 syscall HideWindow
0000096C 4E5E unlink A6
0000096E 4E75 rts
fn00000970:
00000970 4E56 FFF8 link A6, -0x0008
00000974 486E FFF8 pea.l [A6 - 0x8]
00000978 2F2E 000E move.l -[A7], [A6 + 0xE]
0000097C 4EBA 04AC jsr [PC + 0x4AC /* 00000E2A */]
00000980 2E80 move.l [A7], D0
00000982 4EBA 0C82 jsr [PC + 0xC82 /* 00001606 */]
00000986 4EBA 0484 jsr [PC + 0x484 /* 00000E0C */]
0000098A 4A6E 000C tst.w [A6 + 0xC]
0000098E 508F addq.l A7, 8
00000990 6708 beq +0xA /* 0000099A */
00000992 41ED FB7C lea.l A0, [A5 - 0x484]
00000996 2008 move.l D0, A0
00000998 6006 bra +0x8 /* 000009A0 */
label0000099A:
0000099A 41ED FB7E lea.l A0, [A5 - 0x482]
0000099E 2008 move.l D0, A0
label000009A0:
000009A0 2F00 move.l -[A7], D0
000009A2 2F2E 0008 move.l -[A7], [A6 + 0x8]
000009A6 4EBA 1B00 jsr [PC + 0x1B00 /* 000024A8 */]
000009AA 2B40 FB54 move.l [A5 - 0x4AC], D0
000009AE 08AD 0002 FB58 bclr.b [A5 - 0x4A8], 0x2
000009B4 486E FFF8 pea.l [A6 - 0x8]
000009B8 4EBA 0CBA jsr [PC + 0xCBA /* 00001674 */]
000009BC 4E5E unlink A6
000009BE 4E75 rts
000009C0 4E56 FFF8 link A6, -0x0008
000009C4 486E FFF8 pea.l [A6 - 0x8]
000009C8 2F2E 0008 move.l -[A7], [A6 + 0x8]
000009CC 4EBA 045C jsr [PC + 0x45C /* 00000E2A */]
000009D0 2E80 move.l [A7], D0
000009D2 4EBA 0C32 jsr [PC + 0xC32 /* 00001606 */]
000009D6 4EBA 0434 jsr [PC + 0x434 /* 00000E0C */]
000009DA 4EBA 19E0 jsr [PC + 0x19E0 /* 000023BC */]
000009DE 2B40 FB54 move.l [A5 - 0x4AC], D0
000009E2 08ED 0002 FB58 bset.b [A5 - 0x4A8], 0x2
000009E8 486E FFF8 pea.l [A6 - 0x8]
000009EC 4EBA 0C86 jsr [PC + 0xC86 /* 00001674 */]
000009F0 4E5E unlink A6
000009F2 4E75 rts
fn000009F4:
000009F4 4E56 FFD8 link A6, -0x0028
000009F8 2F0C move.l -[A7], A4
000009FA 99CC sub.l A4, A4
000009FC 4A2D FD26 tst.b [A5 - 0x2DA]
00000A00 6A0E bpl +0x10 /* 00000A10 */
00000A02 486D FD26 pea.l [A5 - 0x2DA]
00000A06 2F0C move.l -[A7], A4
00000A08 4EBA FCEE jsr [PC - 0x312 /* 000006F8 */]
00000A0C 2840 movea.l A4, D0
00000A0E 508F addq.l A7, 8
label00000A10:
00000A10 4A2D FD4C tst.b [A5 - 0x2B4]
00000A14 6A0E bpl +0x10 /* 00000A24 */
00000A16 486D FD4C pea.l [A5 - 0x2B4]
00000A1A 2F0C move.l -[A7], A4
00000A1C 4EBA FCDA jsr [PC - 0x326 /* 000006F8 */]
00000A20 2840 movea.l A4, D0
00000A22 508F addq.l A7, 8
label00000A24:
00000A24 4A2D FD72 tst.b [A5 - 0x28E]
00000A28 6A0E bpl +0x10 /* 00000A38 */
00000A2A 486D FD72 pea.l [A5 - 0x28E]
00000A2E 2F0C move.l -[A7], A4
00000A30 4EBA FCC6 jsr [PC - 0x33A /* 000006F8 */]
00000A34 2840 movea.l A4, D0
00000A36 508F addq.l A7, 8
label00000A38:
00000A38 4A2D FB2C tst.b [A5 - 0x4D4]
00000A3C 6728 beq +0x2A /* 00000A66 */
00000A3E 4878 0910 push.l 0x910
00000A42 486D FB80 pea.l [A5 - 0x480]
00000A46 486E FFD8 pea.l [A6 - 0x28]
00000A4A 4EBA 3B66 jsr [PC + 0x3B66 /* 000045B2 */]
00000A4E 486D FD4C pea.l [A5 - 0x2B4]
00000A52 3F3C 0001 move.w -[A7], 0x1
00000A56 486E FFD8 pea.l [A6 - 0x28]
00000A5A 4EBA FF14 jsr [PC - 0xEC /* 00000970 */]
00000A5E 426D FAEC clr.w [A5 - 0x514]
00000A62 4FEF 0016 lea.l A7, [A7 + 0x16]
label00000A66:
00000A66 285F movea.l A4, [A7]+
00000A68 4E5E unlink A6
00000A6A 4E75 rts
fn00000A6C:
00000A6C 48E7 0108 movem.l -[A7], D7,A4
00000A70 4A78 028E tst.w [0x0000028E /* ROM85 */]
00000A74 6D02 blt +0x4 /* 00000A78 */
00000A76 A063 syscall MaxApplZone
label00000A78:
00000A78 7E00 moveq.l D7, 0x00
00000A7A 6004 bra +0x6 /* 00000A80 */
label00000A7C:
00000A7C A036 syscall MoreMasters
00000A7E 5247 addq.w D7, 1
label00000A80:
00000A80 0C47 000A cmpi.w D7, 0xA /* '\n' */
00000A84 6DF6 blt -0x8 /* 00000A7C */
00000A86 203C 0000 00CE move.l D0, 0xCE
00000A8C A11E syscall NewPtr, flags=1
00000A8E 4868 00CA pea.l [A0 + 0xCA]
00000A92 A86E syscall InitGraf
00000A94 A8FE syscall InitFonts
00000A96 A912 syscall InitWindows
00000A98 A9CC syscall TEInit
00000A9A 42A7 clr.l -[A7]
00000A9C A97B syscall InitDialogs
00000A9E A930 syscall InitMenus
00000AA0 42A7 clr.l -[A7]
00000AA2 3F3C 0001 move.w -[A7], 0x1
00000AA6 486D FB88 pea.l [A5 - 0x478]
00000AAA A931 syscall NewMenu
00000AAC 201F move.l D0, [A7]+
00000AAE 2B40 FB60 move.l [A5 - 0x4A0], D0
00000AB2 2F00 move.l -[A7], D0
00000AB4 4267 clr.w -[A7]
00000AB6 A935 syscall InsertMenu
00000AB8 2F2D FB60 move.l -[A7], [A5 - 0x4A0]
00000ABC 2F3C 4452 5652 move.l -[A7], 0x44525652 /* 'DRVR' */
00000AC2 A94D syscall AppendResMenu/AddResMenu
00000AC4 42A7 clr.l -[A7]
00000AC6 3F3C 0002 move.w -[A7], 0x2
00000ACA 486D FB8A pea.l [A5 - 0x476]
00000ACE A931 syscall NewMenu
00000AD0 285F movea.l A4, [A7]+
00000AD2 2F0C move.l -[A7], A4
00000AD4 4267 clr.w -[A7]
00000AD6 A935 syscall InsertMenu
00000AD8 2F0C move.l -[A7], A4
00000ADA 486D FB90 pea.l [A5 - 0x470]
00000ADE A933 syscall AppendMenu
00000AE0 42A7 clr.l -[A7]
00000AE2 3F3C 0003 move.w -[A7], 0x3
00000AE6 486D FB98 pea.l [A5 - 0x468]
00000AEA A931 syscall NewMenu
00000AEC 285F movea.l A4, [A7]+
00000AEE 2F0C move.l -[A7], A4
00000AF0 4267 clr.w -[A7]
00000AF2 A935 syscall InsertMenu
00000AF4 2F0C move.l -[A7], A4
00000AF6 486D FB9E pea.l [A5 - 0x462]
00000AFA A933 syscall AppendMenu
00000AFC A937 syscall DrawMenuBar
00000AFE 2F3C 0000 FFFF move.l -[A7], 0xFFFF
00000B04 201F move.l D0, [A7]+
00000B06 A032 syscall FlushEvents
00000B08 A850 syscall InitCursor
00000B0A 1B7C 0001 FB5A move.b [A5 - 0x4A6], 0x1
00000B10 4CDF 1080 movem.l D7,A4, [A7]+
00000B14 4E75 rts
fn00000B16:
00000B16 4E56 FEE8 link A6, -0x0118
00000B1A 2F07 move.l -[A7], D7
00000B1C 4AAD FB48 tst.l [A5 - 0x4B8]
00000B20 6746 beq +0x48 /* 00000B68 */
00000B22 206D FB48 movea.l A0, [A5 - 0x4B8]
00000B26 202D FB4C move.l D0, [A5 - 0x4B4]
00000B2A 52AD FB4C addq.l [A5 - 0x4B4], 1
00000B2E D090 add.l D0, [A0]
00000B30 2040 movea.l A0, D0
00000B32 7E00 moveq.l D7, 0x00
00000B34 1E10 move.b D7, [A0]
00000B36 202D FB4C move.l D0, [A5 - 0x4B4]
00000B3A B0AD FB50 cmp.l D0, [A5 - 0x4B0]
00000B3E 660A bne +0xC /* 00000B4A */
00000B40 206D FB48 movea.l A0, [A5 - 0x4B8]
00000B44 A023 syscall DisposHandle/DisposeHandle
00000B46 42AD FB48 clr.l [A5 - 0x4B8]
label00000B4A:
00000B4A 082D 0003 FB58 btst.b [A5 - 0x4A8], 0x3
00000B50 6704 beq +0x6 /* 00000B56 */
00000B52 0247 007F andi.w D7, 0x7F
label00000B56:
00000B56 0C47 0009 cmpi.w D7, 0x9 /* '\t' */
00000B5A 6602 bne +0x4 /* 00000B5E */
00000B5C 7E20 moveq.l D7, 0x20
label00000B5E:
00000B5E 3F07 move.w -[A7], D7
00000B60 4EBA 1154 jsr [PC + 0x1154 /* 00001CB6 */]
00000B64 6000 00C8 bra +0xCA /* 00000C2E */
label00000B68:
00000B68 A9B4 syscall SystemTask
00000B6A 4238 015C clr.b [0x0000015C /* SEvtEnb */]
00000B6E 4227 clr.b -[A7]
00000B70 3F3C FFFF move.w -[A7], 0xFFFF
00000B74 486E FFF0 pea.l [A6 - 0x10]
00000B78 A970 syscall GetNextEvent
00000B7A 4A1F tst.b [A7]+
00000B7C 6710 beq +0x12 /* 00000B8E */
00000B7E 4227 clr.b -[A7]
00000B80 486E FFF0 pea.l [A6 - 0x10]
00000B84 A9B2 syscall SystemEvent
00000B86 4A1F tst.b [A7]+
00000B88 671C beq +0x1E /* 00000BA6 */
00000B8A 6000 00A2 bra +0xA4 /* 00000C2E */
label00000B8E:
00000B8E 4A6E FFF0 tst.w [A6 - 0x10]
00000B92 6600 009A bne +0x9C /* 00000C2E */
00000B96 42A7 clr.l -[A7]
00000B98 A924 syscall FrontWindow
00000B9A 4A9F tst.l [A7]+
00000B9C 6600 0090 bne +0x92 /* 00000C2E */
00000BA0 A850 syscall InitCursor
00000BA2 6000 008A bra +0x8C /* 00000C2E */
label00000BA6:
00000BA6 0C6E 0001 FFF0 cmpi.w [A6 - 0x10], 0x1
00000BAC 6600 0080 bne +0x82 /* 00000C2E */
00000BB0 4267 clr.w -[A7]
00000BB2 2F2E FFFA move.l -[A7], [A6 - 0x6]
00000BB6 486E FFEC pea.l [A6 - 0x14]
00000BBA A92C syscall FindWindow
00000BBC 301F move.w D0, [A7]+
00000BBE 676E beq +0x70 /* 00000C2E */
00000BC0 6B6C bmi +0x6E /* 00000C2E */
00000BC2 5540 subq.w D0, 2
00000BC4 6712 beq +0x14 /* 00000BD8 */
00000BC6 6A66 bpl +0x68 /* 00000C2E */
00000BC8 A850 syscall InitCursor
00000BCA 42A7 clr.l -[A7]
00000BCC 2F2E FFFA move.l -[A7], [A6 - 0x6]
00000BD0 A93D syscall MenuSelect
00000BD2 2D5F FFE8 move.l [A6 - 0x18], [A7]+
00000BD6 600C bra +0xE /* 00000BE4 */
label00000BD8:
00000BD8 486E FFF0 pea.l [A6 - 0x10]
00000BDC 2F2E FFEC move.l -[A7], [A6 - 0x14]
00000BE0 A9B3 syscall SystemClick
00000BE2 604A bra +0x4C /* 00000C2E */
label00000BE4:
00000BE4 302E FFE8 move.w D0, [A6 - 0x18]
00000BE8 6740 beq +0x42 /* 00000C2A */
00000BEA 6B3E bmi +0x40 /* 00000C2A */
00000BEC 5740 subq.w D0, 3
00000BEE 672C beq +0x2E /* 00000C1C */
00000BF0 6A38 bpl +0x3A /* 00000C2A */
00000BF2 5240 addq.w D0, 1
00000BF4 6A1A bpl +0x1C /* 00000C10 */
00000BF6 2F2D FB60 move.l -[A7], [A5 - 0x4A0]
00000BFA 3F2E FFEA move.w -[A7], [A6 - 0x16]
00000BFE 486E FEE8 pea.l [A6 - 0x118]
00000C02 A946 syscall GetMenuItemText/GetItem
00000C04 4267 clr.w -[A7]
00000C06 486E FEE8 pea.l [A6 - 0x118]
00000C0A A9B6 syscall OpenDeskAcc
00000C0C 548F addq.l A7, 2
00000C0E 601A bra +0x1C /* 00000C2A */
label00000C10:
00000C10 426D FAEC clr.w [A5 - 0x514]
00000C14 4267 clr.w -[A7]
00000C16 4EBA F77E jsr [PC - 0x882 /* 00000396 */]
00000C1A 548F addq.l A7, 2
label00000C1C:
00000C1C 4227 clr.b -[A7]
00000C1E 70FF moveq.l D0, 0xFFFFFFFF
00000C20 D06E FFEA add.w D0, [A6 - 0x16]
00000C24 3F00 move.w -[A7], D0
00000C26 A9C2 syscall SysEdit
00000C28 548F addq.l A7, 2
label00000C2A:
00000C2A 4267 clr.w -[A7]
00000C2C A938 syscall HiliteMenu
label00000C2E:
00000C2E 2E2E FEE4 move.l D7, [A6 - 0x11C]
00000C32 4E5E unlink A6
00000C34 4E75 rts
fn00000C36:
00000C36 4E56 FFE8 link A6, -0x0018
00000C3A 48E7 0018 movem.l -[A7], A3,A4
00000C3E 486E FFFC pea.l [A6 - 0x4]
00000C42 A874 syscall GetPort
00000C44 42A7 clr.l -[A7]
00000C46 4EBA 0A54 jsr [PC + 0xA54 /* 0000169C */]
00000C4A 588F addq.l A7, 4
00000C4C 42A7 clr.l -[A7]
00000C4E 42A7 clr.l -[A7]
00000C50 486D FB18 pea.l [A5 - 0x4E8]
00000C54 2F2D FADC move.l -[A7], [A5 - 0x524]
00000C58 4227 clr.b -[A7]
00000C5A 3F2D FAE0 move.w -[A7], [A5 - 0x520]
00000C5E 4878 FFFF push.l 0xFFFF
00000C62 4227 clr.b -[A7]
00000C64 42A7 clr.l -[A7]
00000C66 A913 syscall NewWindow
00000C68 285F movea.l A4, [A7]+
00000C6A 2F0C move.l -[A7], A4
00000C6C 3F2D FADA move.w -[A7], [A5 - 0x526]
00000C70 3F2D FAD8 move.w -[A7], [A5 - 0x528]
00000C74 4227 clr.b -[A7]
00000C76 A91B syscall MoveWindow
00000C78 2B4C FB2E move.l [A5 - 0x4D2], A4
00000C7C 2F0C move.l -[A7], A4
00000C7E A873 syscall SetPort
00000C80 3F2D FAE2 move.w -[A7], [A5 - 0x51E]
00000C84 A887 syscall TextFont
00000C86 3F2D FAE4 move.w -[A7], [A5 - 0x51C]
00000C8A A88A syscall TextSize
00000C8C 3F2D FAE6 move.w -[A7], [A5 - 0x51A]
00000C90 A888 syscall TextFace
00000C92 486E FFE8 pea.l [A6 - 0x18]
00000C96 A88B syscall GetFontInfo
00000C98 302E FFE8 move.w D0, [A6 - 0x18]
00000C9C D06E FFEA add.w D0, [A6 - 0x16]
00000CA0 D06E FFEE add.w D0, [A6 - 0x12]
00000CA4 3B40 FB32 move.w [A5 - 0x4CE], D0
00000CA8 3B6E FFEC FB34 move.w [A5 - 0x4CC], [A6 - 0x14]
00000CAE 3B7C 0008 FB3E move.w [A5 - 0x4C2], 0x8
00000CB4 08AD 0003 FB58 bclr.b [A5 - 0x4A8], 0x3
00000CBA 08AD 0004 FB58 bclr.b [A5 - 0x4A8], 0x4
00000CC0 08AD 0006 FB58 bclr.b [A5 - 0x4A8], 0x6
00000CC6 08AD 0007 FB58 bclr.b [A5 - 0x4A8], 0x7
00000CCC 08ED 0005 FB58 bset.b [A5 - 0x4A8], 0x5
00000CD2 42AD FB48 clr.l [A5 - 0x4B8]
00000CD6 42AD FB54 clr.l [A5 - 0x4AC]
00000CDA 426E FFF2 clr.w [A6 - 0xE]
00000CDE 426E FFF0 clr.w [A6 - 0x10]
00000CE2 302D FAE8 move.w D0, [A5 - 0x518]
00000CE6 3B40 FB36 move.w [A5 - 0x4CA], D0
00000CEA C1ED FB32 muls.w D0, [A5 - 0x4CE]
00000CEE 5040 addq.w D0, 8
00000CF0 3D40 FFF4 move.w [A6 - 0xC], D0
00000CF4 302D FAEA move.w D0, [A5 - 0x516]
00000CF8 3B40 FB38 move.w [A5 - 0x4C8], D0
00000CFC C1ED FB34 muls.w D0, [A5 - 0x4CC]
00000D00 5040 addq.w D0, 8
00000D02 3D40 FFF6 move.w [A6 - 0xA], D0
00000D06 2F0C move.l -[A7], A4
00000D08 3F2E FFF6 move.w -[A7], [A6 - 0xA]
00000D0C 3F2E FFF4 move.w -[A7], [A6 - 0xC]
00000D10 4227 clr.b -[A7]
00000D12 A91D syscall SizeWindow
00000D14 42A7 clr.l -[A7]
00000D16 486E FFF0 pea.l [A6 - 0x10]
00000D1A 486E FFF0 pea.l [A6 - 0x10]
00000D1E A9D2 syscall TENew
00000D20 2B5F FB40 move.l [A5 - 0x4C0], [A7]+
00000D24 206D FB40 movea.l A0, [A5 - 0x4C0]
00000D28 2050 movea.l A0, [A0]
00000D2A 317C FFFF 0048 move.w [A0 + 0x48], 0xFFFF
00000D30 70FF moveq.l D0, 0xFFFFFFFF
00000D32 D06D FB36 add.w D0, [A5 - 0x4CA]
00000D36 3B40 FB3A move.w [A5 - 0x4C6], D0
00000D3A 4267 clr.w -[A7]
00000D3C 4EBA 0388 jsr [PC + 0x388 /* 000010C6 */]
00000D40 548F addq.l A7, 2
00000D42 2B6E FFF4 FB44 move.l [A5 - 0x4BC], [A6 - 0xC]
00000D48 526D FB44 addq.w [A5 - 0x4BC], 1
00000D4C 526D FB46 addq.w [A5 - 0x4BA], 1
00000D50 486E FFF0 pea.l [A6 - 0x10]
00000D54 A870 syscall LocalToGlobal
00000D56 486E FFF4 pea.l [A6 - 0xC]
00000D5A A870 syscall LocalToGlobal
00000D5C 206C 0082 movea.l A0, [A4 + 0x82]
00000D60 2650 movea.l A3, [A0]
00000D62 276E FFF0 0008 move.l [A3 + 0x8], [A6 - 0x10]
00000D68 276E FFF4 000C move.l [A3 + 0xC], [A6 - 0xC]
00000D6E 26AB 0008 move.l [A3], [A3 + 0x8]
00000D72 276B 000C 0004 move.l [A3 + 0x4], [A3 + 0xC]
00000D78 41ED FB2E lea.l A0, [A5 - 0x4D2]
00000D7C 702C moveq.l D0, 0x2C
00000D7E A9E3 syscall PtrToHand
00000D80 2948 0098 move.l [A4 + 0x98], A0
00000D84 4A6D FB5E tst.w [A5 - 0x4A2]
00000D88 6608 bne +0xA /* 00000D92 */
00000D8A 4EBA 0A9C jsr [PC + 0xA9C /* 00001828 */]
00000D8E 3B40 FB5E move.w [A5 - 0x4A2], D0
label00000D92:
00000D92 396D FB5E 006C move.w [A4 + 0x6C], [A5 - 0x4A2]
00000D98 4EBA 080E jsr [PC + 0x80E /* 000015A8 */]
00000D9C 2F0C move.l -[A7], A4
00000D9E A915 syscall ShowWindow
00000DA0 2F2E FFFC move.l -[A7], [A6 - 0x4]
00000DA4 A873 syscall SetPort
00000DA6 200C move.l D0, A4
00000DA8 4CDF 1800 movem.l A3,A4, [A7]+
00000DAC 4E5E unlink A6
00000DAE 4E75 rts
fn00000DB0:
00000DB0 48E7 0308 movem.l -[A7], D6,D7,A4
00000DB4 7E00 moveq.l D7, 0x00
00000DB6 49ED FD26 lea.l A4, [A5 - 0x2DA]
00000DBA 7C0F moveq.l D6, 0x0F
00000DBC 6016 bra +0x18 /* 00000DD4 */
label00000DBE:
00000DBE 202C 001E move.l D0, [A4 + 0x1E]
00000DC2 B0AD FB2E cmp.l D0, [A5 - 0x4D2]
00000DC6 6608 bne +0xA /* 00000DD0 */
00000DC8 3007 move.w D0, D7
00000DCA 5247 addq.w D7, 1
00000DCC 4A40 tst.w D0
00000DCE 6636 bne +0x38 /* 00000E06 */
label00000DD0:
00000DD0 49EC 0026 lea.l A4, [A4 + 0x26]
label00000DD4:
00000DD4 3006 move.w D0, D6
00000DD6 5346 subq.w D6, 1
00000DD8 4A40 tst.w D0
00000DDA 66E2 bne -0x1C /* 00000DBE */
00000DDC 4EBA 002E jsr [PC + 0x2E /* 00000E0C */]
00000DE0 4AAD FB48 tst.l [A5 - 0x4B8]
00000DE4 6706 beq +0x8 /* 00000DEC */
00000DE6 206D FB48 movea.l A0, [A5 - 0x4B8]
00000DEA A023 syscall DisposHandle/DisposeHandle
label00000DEC:
00000DEC 206D FB2E movea.l A0, [A5 - 0x4D2]
00000DF0 2068 0098 movea.l A0, [A0 + 0x98]
00000DF4 A023 syscall DisposHandle/DisposeHandle
00000DF6 2F2D FB40 move.l -[A7], [A5 - 0x4C0]
00000DFA A9CD syscall TEDispose
00000DFC 2F2D FB2E move.l -[A7], [A5 - 0x4D2]
00000E00 A914 syscall DisposeWindow
00000E02 42AD FB2E clr.l [A5 - 0x4D2]
label00000E06:
00000E06 4CDF 10C0 movem.l D6,D7,A4, [A7]+
00000E0A 4E75 rts
fn00000E0C:
00000E0C 4AAD FB54 tst.l [A5 - 0x4AC]
00000E10 6716 beq +0x18 /* 00000E28 */
00000E12 082D 0002 FB58 btst.b [A5 - 0x4A8], 0x2
00000E18 6704 beq +0x6 /* 00000E1E */
00000E1A 4EBA 11C0 jsr [PC + 0x11C0 /* 00001FDC */]
label00000E1E:
00000E1E 2F2D FB54 move.l -[A7], [A5 - 0x4AC]
00000E22 4EBA 2080 jsr [PC + 0x2080 /* 00002EA4 */]
00000E26 588F addq.l A7, 4
label00000E28:
00000E28 4E75 rts
fn00000E2A:
00000E2A 4E56 0000 link A6, 0
00000E2E 48E7 0118 movem.l -[A7], D7,A3,A4
00000E32 286E 0008 movea.l A4, [A6 + 0x8]
00000E36 2F0C move.l -[A7], A4
00000E38 4EBA 3690 jsr [PC + 0x3690 /* 000044CA */]
00000E3C 2040 movea.l A0, D0
00000E3E 2668 001E movea.l A3, [A0 + 0x1E]
00000E42 49ED FD26 lea.l A4, [A5 - 0x2DA]
00000E46 7E0F moveq.l D7, 0x0F
00000E48 588F addq.l A7, 4
00000E4A 6018 bra +0x1A /* 00000E64 */
label00000E4C:
00000E4C 0814 0003 btst.b [A4], 0x3
00000E50 670E beq +0x10 /* 00000E60 */
00000E52 B7EC 001E cmpa.l A3, [A4 + 0x1E]
00000E56 6608 bne +0xA /* 00000E60 */
00000E58 2F0C move.l -[A7], A4
00000E5A 4EBA 1FF4 jsr [PC + 0x1FF4 /* 00002E50 */]
00000E5E 588F addq.l A7, 4
label00000E60:
00000E60 49EC 0026 lea.l A4, [A4 + 0x26]
label00000E64:
00000E64 3007 move.w D0, D7
00000E66 5347 subq.w D7, 1
00000E68 4A40 tst.w D0
00000E6A 66E0 bne -0x1E /* 00000E4C */
00000E6C 200B move.l D0, A3
00000E6E 4CDF 1880 movem.l D7,A3,A4, [A7]+
00000E72 4E5E unlink A6
00000E74 4E75 rts
export_29:
00000E76 48E7 0108 movem.l -[A7], D7,A4
00000E7A 49ED FD26 lea.l A4, [A5 - 0x2DA]
00000E7E 7E0F moveq.l D7, 0x0F
00000E80 6018 bra +0x1A /* 00000E9A */
label00000E82:
00000E82 0814 0003 btst.b [A4], 0x3
00000E86 670E beq +0x10 /* 00000E96 */
00000E88 4AAC 001E tst.l [A4 + 0x1E]
00000E8C 6708 beq +0xA /* 00000E96 */
00000E8E 2F0C move.l -[A7], A4
00000E90 4EBA 1FBE jsr [PC + 0x1FBE /* 00002E50 */]
00000E94 588F addq.l A7, 4
label00000E96:
00000E96 49EC 0026 lea.l A4, [A4 + 0x26]
label00000E9A:
00000E9A 3007 move.w D0, D7
00000E9C 5347 subq.w D7, 1
00000E9E 4A40 tst.w D0
00000EA0 66E0 bne -0x1E /* 00000E82 */
00000EA2 4A2D FB5A tst.b [A5 - 0x4A6]
00000EA6 674E beq +0x50 /* 00000EF6 */
00000EA8 4A6D FAEC tst.w [A5 - 0x514]
00000EAC 6748 beq +0x4A /* 00000EF6 */
00000EAE 49ED FD26 lea.l A4, [A5 - 0x2DA]
00000EB2 7E0F moveq.l D7, 0x0F
00000EB4 6038 bra +0x3A /* 00000EEE */
label00000EB6:
00000EB6 4AAC 001E tst.l [A4 + 0x1E]
00000EBA 672E beq +0x30 /* 00000EEA */
00000EBC 2F2C 001E move.l -[A7], [A4 + 0x1E]
00000EC0 486D FBC4 pea.l [A5 - 0x43C]
00000EC4 A91A syscall SetWTitle
00000EC6 08AD 0005 FB58 bclr.b [A5 - 0x4A8], 0x5
00000ECC 08AD 0006 FB58 bclr.b [A5 - 0x4A8], 0x6
00000ED2 08AD 0007 FB58 bclr.b [A5 - 0x4A8], 0x7
00000ED8 42A7 clr.l -[A7]
00000EDA 2F0C move.l -[A7], A4
00000EDC 4EBA 1EC6 jsr [PC + 0x1EC6 /* 00002DA4 */]
00000EE0 2E8C move.l [A7], A4
00000EE2 4EBA 1D7A jsr [PC + 0x1D7A /* 00002C5E */]
00000EE6 508F addq.l A7, 8
00000EE8 600C bra +0xE /* 00000EF6 */
label00000EEA:
00000EEA 49EC 0026 lea.l A4, [A4 + 0x26]
label00000EEE:
00000EEE 3007 move.w D0, D7
00000EF0 5347 subq.w D7, 1
00000EF2 4A40 tst.w D0
00000EF4 66C0 bne -0x3E /* 00000EB6 */
label00000EF6:
00000EF6 49ED FD26 lea.l A4, [A5 - 0x2DA]
00000EFA 7E0F moveq.l D7, 0x0F
00000EFC 6012 bra +0x14 /* 00000F10 */
label00000EFE:
00000EFE 4AAC 001E tst.l [A4 + 0x1E]
00000F02 6708 beq +0xA /* 00000F0C */
00000F04 2F0C move.l -[A7], A4
00000F06 4EBA 1F9C jsr [PC + 0x1F9C /* 00002EA4 */]
00000F0A 588F addq.l A7, 4
label00000F0C:
00000F0C 49EC 0026 lea.l A4, [A4 + 0x26]
label00000F10:
00000F10 3007 move.w D0, D7
00000F12 5347 subq.w D7, 1
00000F14 4A40 tst.w D0
00000F16 66E6 bne -0x18 /* 00000EFE */
00000F18 4CDF 1080 movem.l D7,A4, [A7]+
00000F1C 4E75 rts
export_28:
00000F1E 4E56 FFF8 link A6, -0x0008
00000F22 48E7 0108 movem.l -[A7], D7,A4
00000F26 286E 0008 movea.l A4, [A6 + 0x8]
00000F2A 7E00 moveq.l D7, 0x00
00000F2C 4A6D F9EA tst.w [A5 - 0x616]
00000F30 6706 beq +0x8 /* 00000F38 */
00000F32 7000 moveq.l D0, 0x00
00000F34 6000 0114 bra +0x116 /* 0000104A */
label00000F38:
00000F38 486E FFF8 pea.l [A6 - 0x8]
00000F3C 2F2C 001E move.l -[A7], [A4 + 0x1E]
00000F40 4EBA 06C4 jsr [PC + 0x6C4 /* 00001606 */]
00000F44 302E 000C move.w D0, [A6 + 0xC]
00000F48 508F addq.l A7, 8
00000F4A 6712 beq +0x14 /* 00000F5E */
00000F4C 6B00 00CA bmi +0xCC /* 00001018 */
00000F50 5540 subq.w D0, 2
00000F52 6700 00B2 beq +0xB4 /* 00001006 */
00000F56 6A00 00C0 bpl +0xC2 /* 00001018 */
00000F5A 6000 009A bra +0x9C /* 00000FF6 */
label00000F5E:
00000F5E 202C 000E move.l D0, [A4 + 0xE]
00000F62 2B40 FB6C move.l [A5 - 0x494], D0
00000F66 2B40 FB68 move.l [A5 - 0x498], D0
00000F6A 4A2D FB5A tst.b [A5 - 0x4A6]
00000F6E 6770 beq +0x72 /* 00000FE0 */
00000F70 2F0C move.l -[A7], A4
00000F72 4EBA F9C2 jsr [PC - 0x63E /* 00000936 */]
00000F76 08ED 0004 FB58 bset.b [A5 - 0x4A8], 0x4
00000F7C 2B6C 0012 FB70 move.l [A5 - 0x490], [A4 + 0x12]
00000F82 082D 0005 FB58 btst.b [A5 - 0x4A8], 0x5
00000F88 588F addq.l A7, 4
00000F8A 6720 beq +0x22 /* 00000FAC */
00000F8C 306D FB3C movea.w A0, [A5 - 0x4C4]
00000F90 326D FB38 movea.w A1, [A5 - 0x4C8]
00000F94 D1ED FB70 add.l A0, [A5 - 0x490]
00000F98 B3C8 cmpa.l A1, A0
00000F9A 6410 bcc +0x12 /* 00000FAC */
00000F9C 302D FB38 move.w D0, [A5 - 0x4C8]
00000FA0 906D FB3C sub.w D0, [A5 - 0x4C4]
00000FA4 5240 addq.w D0, 1
00000FA6 3040 movea.w A0, D0
00000FA8 2B48 FB70 move.l [A5 - 0x490], A0
label00000FAC:
00000FAC 4A2D FB58 tst.b [A5 - 0x4A8]
00000FB0 6A04 bpl +0x6 /* 00000FB6 */
00000FB2 7000 moveq.l D0, 0x00
00000FB4 6008 bra +0xA /* 00000FBE */
label00000FB6:
00000FB6 4267 clr.w -[A7]
00000FB8 4EBA 04A6 jsr [PC + 0x4A6 /* 00001460 */]
00000FBC 548F addq.l A7, 2
label00000FBE:
00000FBE 3B40 FB76 move.w [A5 - 0x48A], D0
00000FC2 3B40 FB74 move.w [A5 - 0x48C], D0
00000FC6 0894 0005 bclr.b [A4], 0x5
label00000FCA:
00000FCA 4EBA FB4A jsr [PC - 0x4B6 /* 00000B16 */]
00000FCE 4AAD FB70 tst.l [A5 - 0x490]
00000FD2 6706 beq +0x8 /* 00000FDA */
00000FD4 4A2D FB58 tst.b [A5 - 0x4A8]
00000FD8 6AF0 bpl -0xE /* 00000FCA */
label00000FDA:
00000FDA 08AD 0004 FB58 bclr.b [A5 - 0x4A8], 0x4
label00000FE0:
00000FE0 202D FB6C move.l D0, [A5 - 0x494]
00000FE4 90AD FB68 sub.l D0, [A5 - 0x498]
00000FE8 2940 0012 move.l [A4 + 0x12], D0
00000FEC 662A bne +0x2C /* 00001018 */
00000FEE 08D4 0005 bset.b [A4], 0x5
00000FF2 7EFF moveq.l D7, 0xFFFFFFFF
00000FF4 6022 bra +0x24 /* 00001018 */
label00000FF6:
00000FF6 3F2C 0014 move.w -[A7], [A4 + 0x14]
00000FFA 2F2C 000E move.l -[A7], [A4 + 0xE]
00000FFE 4EBA 013E jsr [PC + 0x13E /* 0000113E */]
00001002 5C8F addq.l A7, 6
00001004 6012 bra +0x14 /* 00001018 */
label00001006:
00001006 4EBA FDA8 jsr [PC - 0x258 /* 00000DB0 */]
0000100A 202C 001E move.l D0, [A4 + 0x1E]
0000100E B0AE FFF8 cmp.l D0, [A6 - 0x8]
00001012 6604 bne +0x6 /* 00001018 */
00001014 42AE FFF8 clr.l [A6 - 0x8]
label00001018:
00001018 4A2D FB5C tst.b [A5 - 0x4A4]
0000101C 6722 beq +0x24 /* 00001040 */
0000101E 422D FB5C clr.b [A5 - 0x4A4]
00001022 4878 0008 push.l 0x8
00001026 201F move.l D0, [A7]+
00001028 A032 syscall FlushEvents
0000102A 42AC 0012 clr.l [A4 + 0x12]
0000102E 3F3C 0004 move.w -[A7], 0x4
00001032 4EBA 3426 jsr [PC + 0x3426 /* 0000445A */]
00001036 3B7C 0004 FCEA move.w [A5 - 0x316], 0x4
0000103C 7EFF moveq.l D7, 0xFFFFFFFF
0000103E 548F addq.l A7, 2
label00001040:
00001040 486E FFF8 pea.l [A6 - 0x8]
00001044 4EBA 062E jsr [PC + 0x62E /* 00001674 */]
00001048 3007 move.w D0, D7
label0000104A:
0000104A 4CEE 1080 FFF0 movem.l D7,A4, [A6 - 0x10]
00001050 4E5E unlink A6
00001052 4E75 rts
export_30:
00001054 4E56 FFFE link A6, -0x0002
00001058 48E7 0118 movem.l -[A7], D7,A3,A4
0000105C 3E2E 0014 move.w D7, [A6 + 0x14]
00001060 286E 0010 movea.l A4, [A6 + 0x10]
00001064 604A bra +0x4C /* 000010B0 */
label00001066:
00001066 264C movea.l A3, A4
label00001068:
00001068 4A1C tst.b [A4]+
0000106A 5BCF FFFC dbmi D7, -0x6 /* 00001068 */
0000106E 6A02 bpl +0x4 /* 00001072 */
00001070 538C subq.l A4, 1
label00001072:
00001072 B7CC cmpa.l A3, A4
00001074 6412 bcc +0x14 /* 00001088 */
00001076 200C move.l D0, A4
00001078 908B sub.l D0, A3
0000107A 3F00 move.w -[A7], D0
0000107C 2F0B move.l -[A7], A3
0000107E 2F2E 000C move.l -[A7], [A6 + 0xC]
00001082 2F2E 0008 move.l -[A7], [A6 + 0x8]
00001086 A882 syscall StdText
label00001088:
00001088 4A47 tst.w D7
0000108A 6D2C blt +0x2E /* 000010B8 */
0000108C 707F moveq.l D0, 0x7F
0000108E C01C and.b D0, [A4]+
00001090 1D40 FFFF move.b [A6 - 0x1], D0
00001094 3F3C 0004 move.w -[A7], 0x4
00001098 A889 syscall TextMode
0000109A 3F3C 0001 move.w -[A7], 0x1
0000109E 486E FFFF pea.l [A6 - 0x1]
000010A2 2F2E 000C move.l -[A7], [A6 + 0xC]
000010A6 2F2E 0008 move.l -[A7], [A6 + 0x8]
000010AA A882 syscall StdText
000010AC 4267 clr.w -[A7]
000010AE A889 syscall TextMode
label000010B0:
000010B0 3007 move.w D0, D7
000010B2 5347 subq.w D7, 1
000010B4 4A40 tst.w D0
000010B6 66AE bne -0x50 /* 00001066 */
label000010B8:
000010B8 4CDF 1880 movem.l D7,A3,A4, [A7]+
000010BC 4E5E unlink A6
000010BE 205F movea.l A0, [A7]+
000010C0 4FEF 000E lea.l A7, [A7 + 0xE]
000010C4 4ED0 jmp [A0]
fn000010C6:
000010C6 4E56 0000 link A6, 0
000010CA 302D FB36 move.w D0, [A5 - 0x4CA]
000010CE 906E 0008 sub.w D0, [A6 + 0x8]
000010D2 3040 movea.w A0, D0
000010D4 2F08 move.l -[A7], A0
000010D6 42A7 clr.l -[A7]
000010D8 1F3C 000D move.b -[A7], 0xD /* '\r' */
000010DC 4EBA 0328 jsr [PC + 0x328 /* 00001406 */]
000010E0 206D FB40 movea.l A0, [A5 - 0x4C0]
000010E4 2050 movea.l A0, [A0]
000010E6 3EA8 003C move.w [A7], [A0 + 0x3C]
000010EA 206D FB40 movea.l A0, [A5 - 0x4C0]
000010EE 326E 0008 movea.w A1, [A6 + 0x8]
000010F2 D3C9 add.l A1, A1
000010F4 D3D0 add.l A1, [A0]
000010F6 3F29 0060 move.w -[A7], [A1 + 0x60]
000010FA 4EBA 0340 jsr [PC + 0x340 /* 0000143C */]
000010FE 426D FB3C clr.w [A5 - 0x4C4]
00001102 4E5E unlink A6
00001104 4E75 rts
fn00001106:
00001106 48E7 0318 movem.l -[A7], D6,D7,A3,A4
0000110A 4EBA 03C4 jsr [PC + 0x3C4 /* 000014D0 */]
0000110E 2840 movea.l A4, D0
00001110 302D FB3A move.w D0, [A5 - 0x4C6]
00001114 47F4 0060 lea.l A3, [A4 + D0.w + 0x60]
00001118 D6C0 add.w A3, D0
0000111A 3E2D FB3C move.w D7, [A5 - 0x4C4]
0000111E DE53 add.w D7, [A3]
00001120 7CFF moveq.l D6, 0xFFFFFFFF
00001122 DC6B 0002 add.w D6, [A3 + 0x2]
00001126 BC47 cmp.w D6, D7
00001128 6F0E ble +0x10 /* 00001138 */
0000112A 3947 0020 move.w [A4 + 0x20], D7
0000112E 3946 0022 move.w [A4 + 0x22], D6
00001132 2F2D FB40 move.l -[A7], [A5 - 0x4C0]
00001136 A9D7 syscall TEDelete
label00001138:
00001138 4CDF 18C0 movem.l D6,D7,A3,A4, [A7]+
0000113C 4E75 rts
fn0000113E:
0000113E 4E56 FFFC link A6, -0x0004
00001142 48E7 0118 movem.l -[A7], D7,A3,A4
00001146 3E2E 000C move.w D7, [A6 + 0xC]
0000114A 286E 0008 movea.l A4, [A6 + 0x8]
0000114E 6000 00E6 bra +0xE8 /* 00001236 */
label00001152:
00001152 2D4C FFFC move.l [A6 - 0x4], A4
00001156 7020 moveq.l D0, 0x20
label00001158:
00001158 B01C cmp.b D0, [A4]+
0000115A 52CF FFFC dbhi D7, -0x6 /* 00001158 */
0000115E 6302 bls +0x4 /* 00001162 */
00001160 538C subq.l A4, 1
label00001162:
00001162 B9EE FFFC cmpa.l A4, [A6 - 0x4]
00001166 6312 bls +0x14 /* 0000117A */
00001168 200C move.l D0, A4
0000116A 90AE FFFC sub.l D0, [A6 - 0x4]
0000116E 2F00 move.l -[A7], D0
00001170 2F2E FFFC move.l -[A7], [A6 - 0x4]
00001174 4EBA 00E0 jsr [PC + 0xE0 /* 00001256 */]
00001178 508F addq.l A7, 8
label0000117A:
0000117A 4A47 tst.w D7
0000117C 6D00 00C2 blt +0xC4 /* 00001240 */
00001180 4A2D FB58 tst.b [A5 - 0x4A8]
00001184 6B2E bmi +0x30 /* 000011B4 */
00001186 2678 014C movea.l A3, [0x0000014C]
0000118A 6024 bra +0x26 /* 000011B0 */
label0000118C:
0000118C 0C6B 0003 0006 cmpi.w [A3 + 0x6], 0x3
00001192 661A bne +0x1C /* 000011AE */
00001194 0C2B 002E 000B cmpi.b [A3 + 0xB], 0x2E /* '.' */
0000119A 6612 bne +0x14 /* 000011AE */
0000119C 082B 0000 0014 btst.b [A3 + 0x14], 0x0
000011A2 670A beq +0xC /* 000011AE */
000011A4 1B7C 0001 FB5C move.b [A5 - 0x4A4], 0x1
000011AA 6000 0094 bra +0x96 /* 00001240 */
label000011AE:
000011AE 2653 movea.l A3, [A3]
label000011B0:
000011B0 200B move.l D0, A3
000011B2 66D8 bne -0x26 /* 0000118C */
label000011B4:
000011B4 7000 moveq.l D0, 0x00
000011B6 101C move.b D0, [A4]+
000011B8 5F40 subq.w D0, 7
000011BA 0C40 0006 cmpi.w D0, 0x6
000011BE 6276 bhi +0x78 /* 00001236 */
000011C0 43FA 0086 lea.l A1, [PC + 0x86 /* 00001248, value 0xFF84FF8C */]
000011C4 D040 add.w D0, D0
000011C6 D2F1 0000 add.w A1, [A1 + D0.w]
000011CA 4ED1 jmp [A1]
000011CC 3F3C 0004 move.w -[A7], 0x4
000011D0 A9C8 syscall SysBeep
000011D2 6062 bra +0x64 /* 00001236 */
000011D4 4EBA 02FA jsr [PC + 0x2FA /* 000014D0 */]
000011D8 4A6D FB3C tst.w [A5 - 0x4C4]
000011DC 6758 beq +0x5A /* 00001236 */
000011DE 536D FB3C subq.w [A5 - 0x4C4], 1
000011E2 6052 bra +0x54 /* 00001236 */
000011E4 426D FB3A clr.w [A5 - 0x4C6]
000011E8 4267 clr.w -[A7]
000011EA 4EBA FEDA jsr [PC - 0x126 /* 000010C6 */]
000011EE 548F addq.l A7, 2
000011F0 6044 bra +0x46 /* 00001236 */
000011F2 4EBA 0522 jsr [PC + 0x522 /* 00001716 */]
000011F6 603E bra +0x40 /* 00001236 */
000011F8 526D FB3A addq.w [A5 - 0x4C6], 1
000011FC 302D FB3A move.w D0, [A5 - 0x4C6]
00001200 B06D FB36 cmp.w D0, [A5 - 0x4CA]
00001204 6630 bne +0x32 /* 00001236 */
00001206 536D FB3A subq.w [A5 - 0x4C6], 1
0000120A 602A bra +0x2C /* 00001236 */
0000120C 426D FB3C clr.w [A5 - 0x4C4]
00001210 6024 bra +0x26 /* 00001236 */
label00001212:
00001212 526D FB3C addq.w [A5 - 0x4C4], 1
00001216 302D FB3C move.w D0, [A5 - 0x4C4]
0000121A 48C0 ext.l D0
0000121C 81ED FB3E divs.w D0, [A5 - 0x4C2]
00001220 4840 swap.w D0
00001222 4A40 tst.w D0
00001224 66EC bne -0x12 /* 00001212 */
00001226 302D FB3C move.w D0, [A5 - 0x4C4]
0000122A B06D FB38 cmp.w D0, [A5 - 0x4C8]
0000122E 6F06 ble +0x8 /* 00001236 */
00001230 3B6D FB38 FB3C move.w [A5 - 0x4C4], [A5 - 0x4C8]
label00001236:
00001236 3007 move.w D0, D7
00001238 5347 subq.w D7, 1
0000123A 4A40 tst.w D0
0000123C 6600 FF14 bne -0xEA /* 00001152 */
label00001240:
00001240 4CDF 1880 movem.l D7,A3,A4, [A7]+
00001244 4E5E unlink A6
00001246 4E75 rts
00001248 FF84 .invalid <<F/6/7>>
0000124A FF8C .invalid <<F/6/7>>
0000124C FFCA .invalid <<F/7/7>>
0000124E FFAA .invalid <<F/6/7>>
00001250 FFB0 .invalid <<F/6/7>>
00001252 FF9C .invalid <<F/6/7>>
00001254 FFC4 .invalid <<F/7/7>>
fn00001256:
00001256 4E56 0000 link A6, 0
0000125A 48E7 0F08 movem.l -[A7], D4,D5,D6,D7,A4
0000125E 2E2E 000C move.l D7, [A6 + 0xC]
label00001262:
00001262 2C07 move.l D6, D7
00001264 306D FB38 movea.w A0, [A5 - 0x4C8]
00001268 326D FB3C movea.w A1, [A5 - 0x4C4]
0000126C D3C7 add.l A1, D7
0000126E B1C9 cmpa.l A0, A1
00001270 6C0A bge +0xC /* 0000127C */
00001272 3C2D FB38 move.w D6, [A5 - 0x4C8]
00001276 9C6D FB3C sub.w D6, [A5 - 0x4C4]
0000127A 48C6 ext.l D6
label0000127C:
0000127C 206D FB40 movea.l A0, [A5 - 0x4C0]
00001280 302D FB3A move.w D0, [A5 - 0x4C6]
00001284 3840 movea.w A4, D0
00001286 49F4 0060 lea.l A4, [A4 + D0.w + 0x60]
0000128A D9D0 add.l A4, [A0]
0000128C 3A2D FB3C move.w D5, [A5 - 0x4C4]
00001290 DA54 add.w D5, [A4]
00001292 78FF moveq.l D4, 0xFFFFFFFF
00001294 D86C 0002 add.w D4, [A4 + 0x2]
00001298 B845 cmp.w D4, D5
0000129A 6C22 bge +0x24 /* 000012BE */
0000129C 3005 move.w D0, D5
0000129E 9044 sub.w D0, D4
000012A0 3040 movea.w A0, D0
000012A2 2F08 move.l -[A7], A0
000012A4 42A7 clr.l -[A7]
000012A6 1F3C 0020 move.b -[A7], 0x20 /* ' ' */
000012AA 4EBA 015A jsr [PC + 0x15A /* 00001406 */]
000012AE 3E84 move.w [A7], D4
000012B0 3F04 move.w -[A7], D4
000012B2 4EBA 0188 jsr [PC + 0x188 /* 0000143C */]
000012B6 3805 move.w D4, D5
000012B8 4FEF 000C lea.l A7, [A7 + 0xC]
000012BC 600E bra +0x10 /* 000012CC */
label000012BE:
000012BE 3045 movea.w A0, D5
000012C0 D1C6 add.l A0, D6
000012C2 3244 movea.w A1, D4
000012C4 B1C9 cmpa.l A0, A1
000012C6 6C04 bge +0x6 /* 000012CC */
000012C8 3806 move.w D4, D6
000012CA D845 add.w D4, D5
label000012CC:
000012CC 2006 move.l D0, D6
000012CE 2278 0AB4 movea.l A1, [0x00000AB4 /* TEScrpHandle */]
000012D2 206E 0008 movea.l A0, [A6 + 0x8]
000012D6 A9E2 syscall PtrToXHand
000012D8 31C6 0AB0 move.w [0x00000AB0 /* TEScrpLength */], D6
000012DC 3F04 move.w -[A7], D4
000012DE 3F05 move.w -[A7], D5
000012E0 4EBA 015A jsr [PC + 0x15A /* 0000143C */]
000012E4 BE86 cmp.l D7, D6
000012E6 588F addq.l A7, 4
000012E8 6F0E ble +0x10 /* 000012F8 */
000012EA 4EBA 042A jsr [PC + 0x42A /* 00001716 */]
000012EE DDAE 0008 add.l [A6 + 0x8], D6
000012F2 9E86 sub.l D7, D6
000012F4 6000 FF6C bra -0x92 /* 00001262 */
label000012F8:
000012F8 DD6D FB3C add.w [A5 - 0x4C4], D6
000012FC 4CDF 10F0 movem.l D4,D5,D6,D7,A4, [A7]+
00001300 4E5E unlink A6
00001302 4E75 rts
fn00001304:
00001304 4E56 0000 link A6, 0
00001308 48E7 0308 movem.l -[A7], D6,D7,A4
0000130C 3E2E 0008 move.w D7, [A6 + 0x8]
00001310 3C2E 000A move.w D6, [A6 + 0xA]
00001314 4EBA 01BA jsr [PC + 0x1BA /* 000014D0 */]
00001318 2840 movea.l A4, D0
0000131A 302D FB3A move.w D0, [A5 - 0x4C6]
0000131E 48C0 ext.l D0
00001320 D080 add.l D0, D0
00001322 7201 moveq.l D1, 0x01
00001324 D26D FB76 add.w D1, [A5 - 0x48A]
00001328 B274 0862 cmp.w D1, [A4 + D0 + 0x62]
0000132C 6610 bne +0x12 /* 0000133E */
0000132E 3947 0020 move.w [A4 + 0x20], D7
00001332 3946 0022 move.w [A4 + 0x22], D6
00001336 2F2D FB40 move.l -[A7], [A5 - 0x4C0]
0000133A A9D7 syscall TEDelete
0000133C 603A bra +0x3C /* 00001378 */
label0000133E:
0000133E 3946 0020 move.w [A4 + 0x20], D6
00001342 396D FB76 0022 move.w [A4 + 0x22], [A5 - 0x48A]
00001348 2F2D FB40 move.l -[A7], [A5 - 0x4C0]
0000134C A9D5 syscall TECopy
0000134E 302D FB76 move.w D0, [A5 - 0x48A]
00001352 9047 sub.w D0, D7
00001354 3040 movea.w A0, D0
00001356 2F08 move.l -[A7], A0
00001358 302D FB76 move.w D0, [A5 - 0x48A]
0000135C 9046 sub.w D0, D6
0000135E 3040 movea.w A0, D0
00001360 2F08 move.l -[A7], A0
00001362 1F3C 0020 move.b -[A7], 0x20 /* ' ' */
00001366 4EBA 009E jsr [PC + 0x9E /* 00001406 */]
0000136A 3EAD FB76 move.w [A7], [A5 - 0x48A]
0000136E 3F07 move.w -[A7], D7
00001370 4EBA 00CA jsr [PC + 0xCA /* 0000143C */]
00001374 4FEF 000C lea.l A7, [A7 + 0xC]
label00001378:
00001378 3006 move.w D0, D6
0000137A 9047 sub.w D0, D7
0000137C 916D FB76 sub.w [A5 - 0x48A], D0
00001380 4CDF 10C0 movem.l D6,D7,A4, [A7]+
00001384 4E5E unlink A6
00001386 4E75 rts
fn00001388:
00001388 4E56 0000 link A6, 0
0000138C 2F0C move.l -[A7], A4
0000138E 4EBA 0140 jsr [PC + 0x140 /* 000014D0 */]
00001392 2840 movea.l A4, D0
00001394 396E 000A 0020 move.w [A4 + 0x20], [A6 + 0xA]
0000139A 302D FB3A move.w D0, [A5 - 0x4C6]
0000139E 48C0 ext.l D0
000013A0 D080 add.l D0, D0
000013A2 7201 moveq.l D1, 0x01
000013A4 D26D FB76 add.w D1, [A5 - 0x48A]
000013A8 B274 0862 cmp.w D1, [A4 + D0 + 0x62]
000013AC 6616 bne +0x18 /* 000013C4 */
000013AE 396E 000A 0022 move.w [A4 + 0x22], [A6 + 0xA]
000013B4 102E 0008 move.b D0, [A6 + 0x8]
000013B8 4880 ext.w D0
000013BA 3F00 move.w -[A7], D0
000013BC 2F2D FB40 move.l -[A7], [A5 - 0x4C0]
000013C0 A9DC syscall TEKey
000013C2 6038 bra +0x3A /* 000013FC */
label000013C4:
000013C4 396D FB76 0022 move.w [A4 + 0x22], [A5 - 0x48A]
000013CA 2F2D FB40 move.l -[A7], [A5 - 0x4C0]
000013CE A9D5 syscall TECopy
000013D0 42A7 clr.l -[A7]
000013D2 2F38 0AB4 move.l -[A7], [0x00000AB4 /* TEScrpHandle */]
000013D6 42A7 clr.l -[A7]
000013D8 42A7 clr.l -[A7]
000013DA 42A7 clr.l -[A7]
000013DC 486E 0008 pea.l [A6 + 0x8]
000013E0 4878 0001 push.l 0x1
000013E4 A9E0 syscall Munger
000013E6 5278 0AB0 addq.w [0x00000AB0 /* TEScrpLength */], 1
000013EA 7001 moveq.l D0, 0x01
000013EC D06D FB76 add.w D0, [A5 - 0x48A]
000013F0 3E80 move.w [A7], D0
000013F2 3F2E 000A move.w -[A7], [A6 + 0xA]
000013F6 4EBA 0044 jsr [PC + 0x44 /* 0000143C */]
000013FA 5C8F addq.l A7, 6
label000013FC:
000013FC 526D FB76 addq.w [A5 - 0x48A], 1
00001400 285F movea.l A4, [A7]+
00001402 4E5E unlink A6
00001404 4E75 rts
fn00001406:
00001406 4E56 0000 link A6, 0
0000140A 48E7 0700 movem.l -[A7], D5,D6,D7
0000140E 1E2E 0008 move.b D7, [A6 + 0x8]
00001412 2C2E 000A move.l D6, [A6 + 0xA]
00001416 2A2E 000E move.l D5, [A6 + 0xE]
0000141A 2078 0AB4 movea.l A0, [0x00000AB4 /* TEScrpHandle */]
0000141E 2005 move.l D0, D5
00001420 31C0 0AB0 move.w [0x00000AB0 /* TEScrpLength */], D0
00001424 A024 syscall SetHandleSize
00001426 2050 movea.l A0, [A0]
00001428 D1C6 add.l A0, D6
0000142A 9A86 sub.l D5, D6
0000142C 6002 bra +0x4 /* 00001430 */
label0000142E:
0000142E 10C7 move.b [A0]+, D7
label00001430:
00001430 51CD FFFC dbf D5, -0x6 /* 0000142E */
00001434 4CDF 00E0 movem.l D5,D6,D7, [A7]+
00001438 4E5E unlink A6
0000143A 4E75 rts
fn0000143C:
0000143C 4E56 0000 link A6, 0
00001440 2F0C move.l -[A7], A4
00001442 4EBA 008C jsr [PC + 0x8C /* 000014D0 */]
00001446 2840 movea.l A4, D0
00001448 396E 0008 0020 move.w [A4 + 0x20], [A6 + 0x8]
0000144E 396E 000A 0022 move.w [A4 + 0x22], [A6 + 0xA]
00001454 2F2D FB40 move.l -[A7], [A5 - 0x4C0]
00001458 A9DB syscall TEPaste
0000145A 285F movea.l A4, [A7]+
0000145C 4E5E unlink A6
0000145E 4E75 rts
fn00001460:
00001460 4E56 0000 link A6, 0
00001464 48E7 0318 movem.l -[A7], D6,D7,A3,A4
00001468 3E2E 0008 move.w D7, [A6 + 0x8]
0000146C 4EBA 0062 jsr [PC + 0x62 /* 000014D0 */]
00001470 2840 movea.l A4, D0
00001472 302D FB3A move.w D0, [A5 - 0x4C6]
00001476 47F4 0060 lea.l A3, [A4 + D0.w + 0x60]
0000147A D6C0 add.w A3, D0
0000147C 7CFF moveq.l D6, 0xFFFFFFFF
0000147E DC6B 0002 add.w D6, [A3 + 0x2]
00001482 3013 move.w D0, [A3]
00001484 D06D FB3C add.w D0, [A5 - 0x4C4]
00001488 DE40 add.w D7, D0
0000148A BC47 cmp.w D6, D7
0000148C 6C24 bge +0x26 /* 000014B2 */
0000148E 3007 move.w D0, D7
00001490 9046 sub.w D0, D6
00001492 3040 movea.w A0, D0
00001494 2F08 move.l -[A7], A0
00001496 42A7 clr.l -[A7]
00001498 1F3C 0020 move.b -[A7], 0x20 /* ' ' */
0000149C 4EBA FF68 jsr [PC - 0x98 /* 00001406 */]
000014A0 3E86 move.w [A7], D6
000014A2 3F06 move.w -[A7], D6
000014A4 4EBA FF96 jsr [PC - 0x6A /* 0000143C */]
000014A8 206D FB40 movea.l A0, [A5 - 0x4C0]
000014AC 2850 movea.l A4, [A0]
000014AE 4FEF 000C lea.l A7, [A7 + 0xC]
label000014B2:
000014B2 3947 0022 move.w [A4 + 0x22], D7
000014B6 3947 0020 move.w [A4 + 0x20], D7
000014BA 397C 00FF 0046 move.w [A4 + 0x46], 0xFF
000014C0 2F2D FB40 move.l -[A7], [A5 - 0x4C0]
000014C4 A9D8 syscall TEActivate
000014C6 3007 move.w D0, D7
000014C8 4CDF 18C0 movem.l D6,D7,A3,A4, [A7]+
000014CC 4E5E unlink A6
000014CE 4E75 rts
fn000014D0:
000014D0 206D FB40 movea.l A0, [A5 - 0x4C0]
000014D4 2050 movea.l A0, [A0]
000014D6 4A68 0024 tst.w [A0 + 0x24]
000014DA 6706 beq +0x8 /* 000014E2 */
000014DC 2F2D FB40 move.l -[A7], [A5 - 0x4C0]
000014E0 A9D9 syscall TEDeactivate
label000014E2:
000014E2 206D FB40 movea.l A0, [A5 - 0x4C0]
000014E6 2010 move.l D0, [A0]
000014E8 4E75 rts
fn000014EA:
000014EA 48E7 0718 movem.l -[A7], D5,D6,D7,A3,A4
000014EE 3E2D FB36 move.w D7, [A5 - 0x4CA]
000014F2 206D FB40 movea.l A0, [A5 - 0x4C0]
000014F6 2850 movea.l A4, [A0]
000014F8 6000 009C bra +0x9E /* 00001596 */
label000014FC:
000014FC 3007 move.w D0, D7
000014FE 5347 subq.w D7, 1
00001500 48C0 ext.l D0
00001502 D080 add.l D0, D0
00001504 7AFF moveq.l D5, 0xFFFFFFFF
00001506 DA74 0860 add.w D5, [A4 + D0 + 0x60]
0000150A 3C05 move.w D6, D5
0000150C 206C 003E movea.l A0, [A4 + 0x3E]
00001510 2650 movea.l A3, [A0]
00001512 D6C6 add.w A3, D6
00001514 6002 bra +0x4 /* 00001518 */
label00001516:
00001516 5346 subq.w D6, 1
label00001518:
00001518 4A46 tst.w D6
0000151A 6708 beq +0xA /* 00001524 */
0000151C 538B subq.l A3, 1
0000151E 0C13 0020 cmpi.b [A3], 0x20 /* ' ' */
00001522 67F2 beq -0xC /* 00001516 */
label00001524:
00001524 082D 0004 FB58 btst.b [A5 - 0x4A8], 0x4
0000152A 6716 beq +0x18 /* 00001542 */
0000152C 4A2D FB58 tst.b [A5 - 0x4A8]
00001530 6B10 bmi +0x12 /* 00001542 */
00001532 BE6D FB3A cmp.w D7, [A5 - 0x4C6]
00001536 660A bne +0xC /* 00001542 */
00001538 BC6D FB76 cmp.w D6, [A5 - 0x48A]
0000153C 6C04 bge +0x6 /* 00001542 */
0000153E 3C2D FB76 move.w D6, [A5 - 0x48A]
label00001542:
00001542 9A46 sub.w D5, D6
00001544 6750 beq +0x52 /* 00001596 */
00001546 42A7 clr.l -[A7]
00001548 2F2C 003E move.l -[A7], [A4 + 0x3E]
0000154C 3046 movea.w A0, D6
0000154E 2F08 move.l -[A7], A0
00001550 42A7 clr.l -[A7]
00001552 3045 movea.w A0, D5
00001554 2F08 move.l -[A7], A0
00001556 486D FBDC pea.l [A5 - 0x424]
0000155A 42A7 clr.l -[A7]
0000155C A9E0 syscall Munger
0000155E 206D FB40 movea.l A0, [A5 - 0x4C0]
00001562 2850 movea.l A4, [A0]
00001564 082D 0004 FB58 btst.b [A5 - 0x4A8], 0x4
0000156A 588F addq.l A7, 4
0000156C 6714 beq +0x16 /* 00001582 */
0000156E BC6D FB74 cmp.w D6, [A5 - 0x48C]
00001572 6C04 bge +0x6 /* 00001578 */
00001574 9B6D FB74 sub.w [A5 - 0x48C], D5
label00001578:
00001578 BC6D FB76 cmp.w D6, [A5 - 0x48A]
0000157C 6C04 bge +0x6 /* 00001582 */
0000157E 9B6D FB76 sub.w [A5 - 0x48A], D5
label00001582:
00001582 BC6C 0020 cmp.w D6, [A4 + 0x20]
00001586 6C04 bge +0x6 /* 0000158C */
00001588 9B6C 0020 sub.w [A4 + 0x20], D5
label0000158C:
0000158C BC6C 0022 cmp.w D6, [A4 + 0x22]
00001590 6C04 bge +0x6 /* 00001596 */
00001592 9B6C 0022 sub.w [A4 + 0x22], D5
label00001596:
00001596 4A47 tst.w D7
00001598 6600 FF62 bne -0x9C /* 000014FC */
0000159C 2F2D FB40 move.l -[A7], [A5 - 0x4C0]
000015A0 A9D0 syscall TECalText
000015A2 4CDF 18E0 movem.l D5,D6,D7,A3,A4, [A7]+
000015A6 4E75 rts
fn000015A8:
000015A8 4E56 FFF8 link A6, -0x0008
000015AC 206D FB2E movea.l A0, [A5 - 0x4D2]
000015B0 2D68 0010 FFF8 move.l [A6 - 0x8], [A0 + 0x10]
000015B6 2D68 0014 FFFC move.l [A6 - 0x4], [A0 + 0x14]
000015BC 486E FFF8 pea.l [A6 - 0x8]
000015C0 A928 syscall InvalRect
000015C2 486E FFF8 pea.l [A6 - 0x8]
000015C6 2F3C 0004 0004 move.l -[A7], 0x40004
000015CC A8A9 syscall InsetRect
000015CE 206D FB40 movea.l A0, [A5 - 0x4C0]
000015D2 2050 movea.l A0, [A0]
000015D4 216E FFF8 0008 move.l [A0 + 0x8], [A6 - 0x8]
000015DA 216E FFFC 000C move.l [A0 + 0xC], [A6 - 0x4]
000015E0 302D FB32 move.w D0, [A5 - 0x4CE]
000015E4 C1ED FB36 muls.w D0, [A5 - 0x4CA]
000015E8 322E FFFC move.w D1, [A6 - 0x4]
000015EC 9240 sub.w D1, D0
000015EE 3D41 FFF8 move.w [A6 - 0x8], D1
000015F2 206D FB40 movea.l A0, [A5 - 0x4C0]
000015F6 2050 movea.l A0, [A0]
000015F8 20AE FFF8 move.l [A0], [A6 - 0x8]
000015FC 216E FFFC 0004 move.l [A0 + 0x4], [A6 - 0x4]
00001602 4E5E unlink A6
00001604 4E75 rts
fn00001606:
00001606 4E56 FFF8 link A6, -0x0008
0000160A 2F0C move.l -[A7], A4
0000160C 286E 0008 movea.l A4, [A6 + 0x8]
00001610 206E 000C movea.l A0, [A6 + 0xC]
00001614 4868 0004 pea.l [A0 + 0x4]
00001618 A874 syscall GetPort
0000161A 206E 000C movea.l A0, [A6 + 0xC]
0000161E 20AD FB64 move.l [A0], [A5 - 0x49C]
00001622 200C move.l D0, A4
00001624 6748 beq +0x4A /* 0000166E */
00001626 302C 006C move.w D0, [A4 + 0x6C]
0000162A B06D FB5E cmp.w D0, [A5 - 0x4A2]
0000162E 663E bne +0x40 /* 0000166E */
00001630 2F0C move.l -[A7], A4
00001632 4EBA 0068 jsr [PC + 0x68 /* 0000169C */]
00001636 2E8C move.l [A7], A4
00001638 A873 syscall SetPort
0000163A 4227 clr.b -[A7]
0000163C 2F2C 007A move.l -[A7], [A4 + 0x7A]
00001640 A8E2 syscall EmptyRgn
00001642 4A1F tst.b [A7]+
00001644 6624 bne +0x26 /* 0000166A */
00001646 2D6C 0010 FFF8 move.l [A6 - 0x8], [A4 + 0x10]
0000164C 2D6C 0014 FFFC move.l [A6 - 0x4], [A4 + 0x14]
00001652 2F0C move.l -[A7], A4
00001654 A922 syscall BeginUpdate
00001656 486E FFF8 pea.l [A6 - 0x8]
0000165A A8A3 syscall EraseRect
0000165C 486E FFF8 pea.l [A6 - 0x8]
00001660 2F2D FB40 move.l -[A7], [A5 - 0x4C0]
00001664 A9D3 syscall TEUpdate
00001666 2F0C move.l -[A7], A4
00001668 A923 syscall EndUpdate
label0000166A:
0000166A 2B4C FB64 move.l [A5 - 0x49C], A4
label0000166E:
0000166E 285F movea.l A4, [A7]+
00001670 4E5E unlink A6
00001672 4E75 rts
fn00001674:
00001674 4E56 0000 link A6, 0
00001678 206E 0008 movea.l A0, [A6 + 0x8]
0000167C 2B50 FB64 move.l [A5 - 0x49C], [A0]
00001680 670C beq +0xE /* 0000168E */
00001682 206E 0008 movea.l A0, [A6 + 0x8]
00001686 2F10 move.l -[A7], [A0]
00001688 4EBA 0012 jsr [PC + 0x12 /* 0000169C */]
0000168C 588F addq.l A7, 4
label0000168E:
0000168E 206E 0008 movea.l A0, [A6 + 0x8]
00001692 2F28 0004 move.l -[A7], [A0 + 0x4]
00001696 A873 syscall SetPort
00001698 4E5E unlink A6
0000169A 4E75 rts
fn0000169C:
0000169C 4E56 0000 link A6, 0
000016A0 202E 0008 move.l D0, [A6 + 0x8]
000016A4 B0AD FB2E cmp.l D0, [A5 - 0x4D2]
000016A8 6738 beq +0x3A /* 000016E2 */
000016AA 4AAD FB2E tst.l [A5 - 0x4D2]
000016AE 6716 beq +0x18 /* 000016C6 */
000016B0 206D FB2E movea.l A0, [A5 - 0x4D2]
000016B4 2068 0098 movea.l A0, [A0 + 0x98]
000016B8 2050 movea.l A0, [A0]
000016BA 43ED FB2E lea.l A1, [A5 - 0x4D2]
000016BE 700A moveq.l D0, 0x0A
label000016C0:
000016C0 20D9 move.l [A0]+, [A1]+
000016C2 51C8 FFFC dbf D0, -0x6 /* 000016C0 */
label000016C6:
000016C6 4AAE 0008 tst.l [A6 + 0x8]
000016CA 6716 beq +0x18 /* 000016E2 */
000016CC 206E 0008 movea.l A0, [A6 + 0x8]
000016D0 2068 0098 movea.l A0, [A0 + 0x98]
000016D4 2050 movea.l A0, [A0]
000016D6 43ED FB2E lea.l A1, [A5 - 0x4D2]
000016DA 700A moveq.l D0, 0x0A
label000016DC:
000016DC 22D8 move.l [A1]+, [A0]+
000016DE 51C8 FFFC dbf D0, -0x6 /* 000016DC */
label000016E2:
000016E2 4E5E unlink A6
000016E4 4E75 rts
fn000016E6:
000016E6 2078 0AB4 movea.l A0, [0x00000AB4 /* TEScrpHandle */]
000016EA A029 syscall HLock
000016EC 2010 move.l D0, [A0]
000016EE 082D 0003 FB58 btst.b [A5 - 0x4A8], 0x3
000016F4 6716 beq +0x18 /* 0000170C */
000016F6 2240 movea.l A1, D0
000016F8 3238 0AB0 move.w D1, [0x00000AB0 /* TEScrpLength */]
000016FC 600A bra +0xC /* 00001708 */
label000016FE:
000016FE 4A19 tst.b [A1]+
00001700 6A06 bpl +0x8 /* 00001708 */
00001702 08A9 0007 FFFF bclr.b [A1 - 0x1], 0x7
label00001708:
00001708 51C9 FFF4 dbf D1, -0xE /* 000016FE */
label0000170C:
0000170C 4E75 rts
fn0000170E:
0000170E 2078 0AB4 movea.l A0, [0x00000AB4 /* TEScrpHandle */]
00001712 A02A syscall HUnlock
00001714 4E75 rts
fn00001716:
00001716 4E56 FFE8 link A6, -0x0018
0000171A 48E7 0738 movem.l -[A7], D5,D6,D7,A2,A3,A4
0000171E 4EBA FDB0 jsr [PC - 0x250 /* 000014D0 */]
00001722 2840 movea.l A4, D0
00001724 082D 0004 FB58 btst.b [A5 - 0x4A8], 0x4
0000172A 6712 beq +0x14 /* 0000173E */
0000172C 082D 0005 FB58 btst.b [A5 - 0x4A8], 0x5
00001732 660A bne +0xC /* 0000173E */
00001734 082D 0006 FB58 btst.b [A5 - 0x4A8], 0x6
0000173A 6700 00E4 beq +0xE6 /* 00001820 */
label0000173E:
0000173E 41EE FFE8 lea.l A0, [A6 - 0x18]
00001742 7002 moveq.l D0, 0x02
00001744 A031 syscall GetOSEvent
00001746 5240 addq.w D0, 1
00001748 4A00 tst.b D0
0000174A 670E beq +0x10 /* 0000175A */
label0000174C:
0000174C 41EE FFE8 lea.l A0, [A6 - 0x18]
00001750 7004 moveq.l D0, 0x04
00001752 A031 syscall GetOSEvent
00001754 5240 addq.w D0, 1
00001756 4A00 tst.b D0
00001758 67F2 beq -0xC /* 0000174C */
label0000175A:
0000175A 4AAD FB54 tst.l [A5 - 0x4AC]
0000175E 673A beq +0x3C /* 0000179A */
00001760 302D FB3A move.w D0, [A5 - 0x4C6]
00001764 47F4 0060 lea.l A3, [A4 + D0.w + 0x60]
00001768 D6C0 add.w A3, D0
0000176A 3953 0020 move.w [A4 + 0x20], [A3]
0000176E 396B 0002 0022 move.w [A4 + 0x22], [A3 + 0x2]
00001774 2F2D FB40 move.l -[A7], [A5 - 0x4C0]
00001778 A9D5 syscall TECopy
0000177A 2F2D FB54 move.l -[A7], [A5 - 0x4AC]
0000177E 3078 0AB0 movea.w A0, [0x00000AB0 /* TEScrpLength */]
00001782 2F08 move.l -[A7], A0
00001784 4878 0001 push.l 0x1
00001788 4EBA FF5C jsr [PC - 0xA4 /* 000016E6 */]
0000178C 2F00 move.l -[A7], D0
0000178E 4EBA 12B0 jsr [PC + 0x12B0 /* 00002A40 */]
00001792 4EBA FF7A jsr [PC - 0x86 /* 0000170E */]
00001796 4FEF 0010 lea.l A7, [A7 + 0x10]
label0000179A:
0000179A 526D FB3A addq.w [A5 - 0x4C6], 1
0000179E 302D FB3A move.w D0, [A5 - 0x4C6]
000017A2 B06D FB36 cmp.w D0, [A5 - 0x4CA]
000017A6 6674 bne +0x76 /* 0000181C */
000017A8 206D FB40 movea.l A0, [A5 - 0x4C0]
000017AC 2850 movea.l A4, [A0]
000017AE 246C 003E movea.l A2, [A4 + 0x3E]
000017B2 3E2C 0062 move.w D7, [A4 + 0x62]
000017B6 9F6C 003C sub.w [A4 + 0x3C], D7
000017BA 3C2C 003C move.w D6, [A4 + 0x3C]
000017BE 526C 003C addq.w [A4 + 0x3C], 1
000017C2 2D54 FFF8 move.l [A6 - 0x8], [A4]
000017C6 2D6C 0004 FFFC move.l [A6 - 0x4], [A4 + 0x4]
000017CC 486E FFF8 pea.l [A6 - 0x8]
000017D0 4267 clr.w -[A7]
000017D2 302D FB32 move.w D0, [A5 - 0x4CE]
000017D6 4440 neg.w D0
000017D8 3F00 move.w -[A7], D0
000017DA 42A7 clr.l -[A7]
000017DC A8D8 syscall NewRgn
000017DE 2A1F move.l D5, [A7]+
000017E0 2F05 move.l -[A7], D5
000017E2 A8EF syscall ScrollRect
000017E4 2F05 move.l -[A7], D5
000017E6 A8D9 syscall DisposRgn/DisposeRgn
000017E8 42A7 clr.l -[A7]
000017EA 2F0A move.l -[A7], A2
000017EC 42A7 clr.l -[A7]
000017EE 42A7 clr.l -[A7]
000017F0 3047 movea.w A0, D7
000017F2 2F08 move.l -[A7], A0
000017F4 486D FBDE pea.l [A5 - 0x422]
000017F8 42A7 clr.l -[A7]
000017FA A9E0 syscall Munger
000017FC 4297 clr.l [A7]
000017FE 2F0A move.l -[A7], A2
00001800 3046 movea.w A0, D6
00001802 2F08 move.l -[A7], A0
00001804 42A7 clr.l -[A7]
00001806 42A7 clr.l -[A7]
00001808 486D FBE0 pea.l [A5 - 0x420]
0000180C 4878 0001 push.l 0x1
00001810 A9E0 syscall Munger
00001812 2EAD FB40 move.l [A7], [A5 - 0x4C0]
00001816 A9D0 syscall TECalText
00001818 536D FB3A subq.w [A5 - 0x4C6], 1
label0000181C:
0000181C 426D FB3C clr.w [A5 - 0x4C4]
label00001820:
00001820 4CDF 1CE0 movem.l D5,D6,D7,A2,A3,A4, [A7]+
00001824 4E5E unlink A6
00001826 4E75 rts
fn00001828:
00001828 4E56 FFFA link A6, -0x0006
0000182C 2F0C move.l -[A7], A4
0000182E 4AAD FB78 tst.l [A5 - 0x488]
00001832 661C bne +0x1E /* 00001850 */
00001834 41ED 011A lea.l A0, [A5 + 0x11A /* export_31 */]
00001838 2B48 FB0E move.l [A5 - 0x4F2], A0
0000183C 41ED 0122 lea.l A0, [A5 + 0x122 /* export_32 */]
00001840 2B48 FB14 move.l [A5 - 0x4EC], A0
00001844 41ED FAEE lea.l A0, [A5 - 0x512]
00001848 702A moveq.l D0, 0x2A
0000184A A9E3 syscall PtrToHand
0000184C 2B48 FB78 move.l [A5 - 0x488], A0
label00001850:
00001850 3D7C 001B FFFE move.w [A6 - 0x2], 0x1B
00001856 6012 bra +0x14 /* 0000186A */
label00001858:
00001858 206E FFFA movea.l A0, [A6 - 0x6]
0000185C 2050 movea.l A0, [A0]
0000185E 0828 0005 0005 btst.b [A0 + 0x5], 0x5
00001864 6718 beq +0x1A /* 0000187E */
00001866 526E FFFE addq.w [A6 - 0x2], 1
label0000186A:
0000186A 302E FFFE move.w D0, [A6 - 0x2]
0000186E 48C0 ext.l D0
00001870 E588 lsl D0, 2
00001872 D0B8 011C add.l D0, [0x0000011C /* UTableBase */]
00001876 2040 movea.l A0, D0
00001878 2D50 FFFA move.l [A6 - 0x6], [A0]
0000187C 66DA bne -0x24 /* 00001858 */
label0000187E:
0000187E 302E FFFE move.w D0, [A6 - 0x2]
00001882 4640 not.w D0
00001884 3D40 FFFE move.w [A6 - 0x2], D0
00001888 302E FFFE move.w D0, [A6 - 0x2]
0000188C A13D syscall DrvrInstall, flags=1
0000188E 2850 movea.l A4, [A0]
00001890 28AD FB78 move.l [A4], [A5 - 0x488]
00001894 396D FAEE 0004 move.w [A4 + 0x4], [A5 - 0x512]
0000189A 396D FAF2 0024 move.w [A4 + 0x24], [A5 - 0x50E]
000018A0 302E FFFE move.w D0, [A6 - 0x2]
000018A4 285F movea.l A4, [A7]+
000018A6 4E5E unlink A6
000018A8 4E75 rts
export_32:
000018AA 70E8 moveq.l D0, 0xFFFFFFE8
000018AC 4E75 rts
export_31:
000018AE 4E56 FFE6 link A6, -0x001A
000018B2 48E7 0018 movem.l -[A7], A3,A4
000018B6 200D move.l D0, A5
000018B8 2A78 0904 movea.l A5, [0x00000904 /* CurrentA5 */]
000018BC 2D40 FFE6 move.l [A6 - 0x1A], D0
000018C0 2848 movea.l A4, A0
000018C2 2D49 FFFC move.l [A6 - 0x4], A1
000018C6 486E FFF4 pea.l [A6 - 0xC]
000018CA 42A7 clr.l -[A7]
000018CC A924 syscall FrontWindow
000018CE 4EBA FD36 jsr [PC - 0x2CA /* 00001606 */]
000018D2 508F addq.l A7, 8
000018D4 302C 001A move.w D0, [A4 + 0x1A]
000018D8 0440 0040 subi.w D0, 0x40 /* '@' */
000018DC 0C40 0009 cmpi.w D0, 0x9 /* '\t' */
000018E0 6200 009E bhi +0xA0 /* 00001980 */
000018E4 43FA 00D0 lea.l A1, [PC + 0xD0 /* 000019B6, value 0xFF62FFCA */]
000018E8 D040 add.w D0, D0
000018EA D2F1 0000 add.w A1, [A1 + D0.w]
000018EE 4ED1 jmp [A1]
000018F0 4EBA 00D8 jsr [PC + 0xD8 /* 000019CA */]
000018F4 6000 008A bra +0x8C /* 00001980 */
000018F8 4EBA 05EE jsr [PC + 0x5EE /* 00001EE8 */]
000018FC 6000 0082 bra +0x84 /* 00001980 */
00001900 4EBA 0634 jsr [PC + 0x634 /* 00001F36 */]
00001904 607A bra +0x7C /* 00001980 */
00001906 4EBA 0670 jsr [PC + 0x670 /* 00001F78 */]
0000190A 6074 bra +0x76 /* 00001980 */
0000190C 3F3C 001B move.w -[A7], 0x1B
00001910 4EBA 03A4 jsr [PC + 0x3A4 /* 00001CB6 */]
00001914 548F addq.l A7, 2
00001916 6068 bra +0x6A /* 00001980 */
00001918 266C 001C movea.l A3, [A4 + 0x1C]
0000191C 3013 move.w D0, [A3]
0000191E 0C40 0006 cmpi.w D0, 0x6
00001922 625C bhi +0x5E /* 00001980 */
00001924 43FA 0082 lea.l A1, [PC + 0x82 /* 000019A8, value 0xFFD8FF98 */]
00001928 D040 add.w D0, D0
0000192A D2F1 0000 add.w A1, [A1 + D0.w]
0000192E 4ED1 jmp [A1]
00001930 486E FFEC pea.l [A6 - 0x14]
00001934 2F2B 0002 move.l -[A7], [A3 + 0x2]
00001938 4EBA FCCC jsr [PC - 0x334 /* 00001606 */]
0000193C 508F addq.l A7, 8
0000193E 6040 bra +0x42 /* 00001980 */
00001940 2F0B move.l -[A7], A3
00001942 4EBA 00C6 jsr [PC + 0xC6 /* 00001A0A */]
00001946 588F addq.l A7, 4
00001948 6036 bra +0x38 /* 00001980 */
0000194A 7000 moveq.l D0, 0x00
0000194C 102B 0005 move.b D0, [A3 + 0x5]
00001950 3D40 FFEA move.w [A6 - 0x16], D0
00001954 082B 0000 000E btst.b [A3 + 0xE], 0x0
0000195A 6714 beq +0x16 /* 00001970 */
0000195C 0C53 0005 cmpi.w [A3], 0x5
00001960 671E beq +0x20 /* 00001980 */
00001962 3F2E FFEA move.w -[A7], [A6 - 0x16]
00001966 4EBA 024A jsr [PC + 0x24A /* 00001BB2 */]
0000196A 548F addq.l A7, 2
0000196C 3D40 FFEA move.w [A6 - 0x16], D0
label00001970:
00001970 4A6E FFEA tst.w [A6 - 0x16]
00001974 670A beq +0xC /* 00001980 */
00001976 3F2E FFEA move.w -[A7], [A6 - 0x16]
0000197A 4EBA 033A jsr [PC + 0x33A /* 00001CB6 */]
0000197E 548F addq.l A7, 2
label00001980:
00001980 206D FB78 movea.l A0, [A5 - 0x488]
00001984 A02A syscall HUnlock
00001986 206E FFFC movea.l A0, [A6 - 0x4]
0000198A A528 syscall RecoverHandle, flags=5
0000198C A02A syscall HUnlock
0000198E 486E FFF4 pea.l [A6 - 0xC]
00001992 4EBA FCE0 jsr [PC - 0x320 /* 00001674 */]
00001996 588F addq.l A7, 4
00001998 202E FFE6 move.l D0, [A6 - 0x1A]
0000199C C18D exg D0, A5
0000199E 7000 moveq.l D0, 0x00
000019A0 4CDF 1800 movem.l A3,A4, [A7]+
000019A4 4E5E unlink A6
000019A6 4E75 rts
000019A8 FFD8 .invalid <<F/7/7>>
000019AA FF98 .invalid <<F/6/7>>
000019AC FFD8 .invalid <<F/7/7>>
000019AE FFA2 .invalid <<F/6/7>>
000019B0 FFD8 .invalid <<F/7/7>>
000019B2 FFA2 .invalid <<F/6/7>>
000019B4 FF88 .invalid <<F/6/7>>
000019B6 FF62 .extension 0xF62 <<F/4-5/7>> // unimplemented
000019B8 FFCA .invalid <<F/7/7>>
000019BA FF3A .extension 0xF3A <<F/4-5/7>> // unimplemented
000019BC FFCA .invalid <<F/7/7>>
000019BE FFCA .invalid <<F/7/7>>
000019C0 FFCA .invalid <<F/7/7>>
000019C2 FF42 .extension 0xF42 <<F/4-5/7>> // unimplemented
000019C4 FF4A .extension 0xF4A <<F/4-5/7>> // unimplemented
000019C6 FF50 .extension 0xF50 <<F/4-5/7>> // unimplemented
000019C8 FF56 .extension 0xF56 <<F/4-5/7>> // unimplemented
fn000019CA:
000019CA 4E56 FFFC link A6, -0x0004
000019CE 2F2D FB40 move.l -[A7], [A5 - 0x4C0]
000019D2 A9DA syscall TEIdle
000019D4 486E FFFC pea.l [A6 - 0x4]
000019D8 A972 syscall GetMouse
000019DA 4227 clr.b -[A7]
000019DC 2F2E FFFC move.l -[A7], [A6 - 0x4]
000019E0 206D FB2E movea.l A0, [A5 - 0x4D2]
000019E4 4868 0010 pea.l [A0 + 0x10]
000019E8 A8AD syscall PtInRect
000019EA 4A1F tst.b [A7]+
000019EC 6710 beq +0x12 /* 000019FE */
000019EE 42A7 clr.l -[A7]
000019F0 3F3C 0001 move.w -[A7], 0x1
000019F4 A9B9 syscall GetCursor
000019F6 205F movea.l A0, [A7]+
000019F8 2F10 move.l -[A7], [A0]
000019FA A851 syscall SetCursor
000019FC 6008 bra +0xA /* 00001A06 */
label000019FE:
000019FE 2055 movea.l A0, [A5]
00001A00 4868 FF94 pea.l [A0 - 0x6C]
00001A04 A851 syscall SetCursor
label00001A06:
00001A06 4E5E unlink A6
00001A08 4E75 rts
fn00001A0A:
00001A0A 4E56 0000 link A6, 0
00001A0E 48E7 0108 movem.l -[A7], D7,A4
00001A12 286E 0008 movea.l A4, [A6 + 0x8]
00001A16 206D FB2E movea.l A0, [A5 - 0x4D2]
00001A1A 317C 0008 006C move.w [A0 + 0x6C], 0x8
00001A20 4267 clr.w -[A7]
00001A22 2F2C 000A move.l -[A7], [A4 + 0xA]
00001A26 486D FB2E pea.l [A5 - 0x4D2]
00001A2A A92C syscall FindWindow
00001A2C 3E1F move.w D7, [A7]+
00001A2E 206D FB2E movea.l A0, [A5 - 0x4D2]
00001A32 316D FB5E 006C move.w [A0 + 0x6C], [A5 - 0x4A2]
00001A38 3007 move.w D0, D7
00001A3A 6B40 bmi +0x42 /* 00001A7C */
00001A3C 5B40 subq.w D0, 5
00001A3E 671E beq +0x20 /* 00001A5E */
00001A40 6A06 bpl +0x8 /* 00001A48 */
00001A42 5440 addq.w D0, 2
00001A44 672E beq +0x30 /* 00001A74 */
00001A46 6034 bra +0x36 /* 00001A7C */
label00001A48:
00001A48 5940 subq.w D0, 4
00001A4A 6A30 bpl +0x32 /* 00001A7C */
00001A4C 5440 addq.w D0, 2
00001A4E 6B2C bmi +0x2E /* 00001A7C */
00001A50 3F07 move.w -[A7], D7
00001A52 2F2C 000A move.l -[A7], [A4 + 0xA]
00001A56 4EBA 002C jsr [PC + 0x2C /* 00001A84 */]
00001A5A 5C8F addq.l A7, 6
00001A5C 601E bra +0x20 /* 00001A7C */
label00001A5E:
00001A5E 302C 000E move.w D0, [A4 + 0xE]
00001A62 0240 0900 andi.w D0, 0x900 /* '\t\0' */
00001A66 660C bne +0xE /* 00001A74 */
00001A68 2F2C 000A move.l -[A7], [A4 + 0xA]
00001A6C 4EBA 004E jsr [PC + 0x4E /* 00001ABC */]
00001A70 588F addq.l A7, 4
00001A72 6008 bra +0xA /* 00001A7C */
label00001A74:
00001A74 2F0C move.l -[A7], A4
00001A76 4EBA 0088 jsr [PC + 0x88 /* 00001B00 */]
00001A7A 588F addq.l A7, 4
label00001A7C:
00001A7C 4CDF 1080 movem.l D7,A4, [A7]+
00001A80 4E5E unlink A6
00001A82 4E75 rts
fn00001A84:
00001A84 4E56 0000 link A6, 0
00001A88 2F0C move.l -[A7], A4
00001A8A 286D FB2E movea.l A4, [A5 - 0x4D2]
00001A8E A850 syscall InitCursor
00001A90 4227 clr.b -[A7]
00001A92 2F0C move.l -[A7], A4
00001A94 2F2E 0008 move.l -[A7], [A6 + 0x8]
00001A98 3F2E 000C move.w -[A7], [A6 + 0xC]
00001A9C A83B syscall TrackBox
00001A9E 4A1F tst.b [A7]+
00001AA0 6714 beq +0x16 /* 00001AB6 */
00001AA2 486C 0010 pea.l [A4 + 0x10]
00001AA6 A8A3 syscall EraseRect
00001AA8 2F0C move.l -[A7], A4
00001AAA 3F2E 000C move.w -[A7], [A6 + 0xC]
00001AAE 4227 clr.b -[A7]
00001AB0 A83A syscall ZoomWindow
00001AB2 4EBA FAF4 jsr [PC - 0x50C /* 000015A8 */]
label00001AB6:
00001AB6 285F movea.l A4, [A7]+
00001AB8 4E5E unlink A6
00001ABA 4E75 rts
fn00001ABC:
00001ABC 4E56 FFFC link A6, -0x0004
00001AC0 2F0C move.l -[A7], A4
00001AC2 286D FB2E movea.l A4, [A5 - 0x4D2]
00001AC6 A850 syscall InitCursor
00001AC8 2B6D FB44 FB24 move.l [A5 - 0x4DC], [A5 - 0x4BC]
00001ACE 42A7 clr.l -[A7]
00001AD0 2F0C move.l -[A7], A4
00001AD2 2F2E 0008 move.l -[A7], [A6 + 0x8]
00001AD6 486D FB20 pea.l [A5 - 0x4E0]
00001ADA A92B syscall GrowWindow
00001ADC 2D5F FFFC move.l [A6 - 0x4], [A7]+
00001AE0 6718 beq +0x1A /* 00001AFA */
00001AE2 486C 0010 pea.l [A4 + 0x10]
00001AE6 A8A3 syscall EraseRect
00001AE8 2F0C move.l -[A7], A4
00001AEA 3F2E FFFE move.w -[A7], [A6 - 0x2]
00001AEE 3F2E FFFC move.w -[A7], [A6 - 0x4]
00001AF2 4227 clr.b -[A7]
00001AF4 A91D syscall SizeWindow
00001AF6 4EBA FAB0 jsr [PC - 0x550 /* 000015A8 */]
label00001AFA:
00001AFA 285F movea.l A4, [A7]+
00001AFC 4E5E unlink A6
00001AFE 4E75 rts
fn00001B00:
00001B00 4E56 0000 link A6, 0
00001B04 48E7 0118 movem.l -[A7], D7,A3,A4
00001B08 286E 0008 movea.l A4, [A6 + 0x8]
00001B0C 7E00 moveq.l D7, 0x00
00001B0E 206D FB40 movea.l A0, [A5 - 0x4C0]
00001B12 2050 movea.l A0, [A0]
00001B14 4A68 0024 tst.w [A0 + 0x24]
00001B18 660A bne +0xC /* 00001B24 */
00001B1A 4267 clr.w -[A7]
00001B1C 4EBA F942 jsr [PC - 0x6BE /* 00001460 */]
00001B20 548F addq.l A7, 2
00001B22 600A bra +0xC /* 00001B2E */
label00001B24:
00001B24 082C 0001 000E btst.b [A4 + 0xE], 0x1
00001B2A 6702 beq +0x4 /* 00001B2E */
00001B2C 7E01 moveq.l D7, 0x01
label00001B2E:
00001B2E 4EBA F9BA jsr [PC - 0x646 /* 000014EA */]
00001B32 486C 000A pea.l [A4 + 0xA]
00001B36 A871 syscall GlobalToLocal
00001B38 2F2C 000A move.l -[A7], [A4 + 0xA]
00001B3C 1F07 move.b -[A7], D7
00001B3E 2F2D FB40 move.l -[A7], [A5 - 0x4C0]
00001B42 A9D4 syscall TEClick
00001B44 206D FB40 movea.l A0, [A5 - 0x4C0]
00001B48 2650 movea.l A3, [A0]
00001B4A 302B 0020 move.w D0, [A3 + 0x20]
00001B4E B06B 0022 cmp.w D0, [A3 + 0x22]
00001B52 6656 bne +0x58 /* 00001BAA */
00001B54 377C 00FF 0046 move.w [A3 + 0x46], 0xFF
00001B5A 082D 0004 FB58 btst.b [A5 - 0x4A8], 0x4
00001B60 6706 beq +0x8 /* 00001B68 */
00001B62 4A2D FB58 tst.b [A5 - 0x4A8]
00001B66 6A08 bpl +0xA /* 00001B70 */
label00001B68:
00001B68 2F2D FB40 move.l -[A7], [A5 - 0x4C0]
00001B6C A9D9 syscall TEDeactivate
00001B6E 603A bra +0x3C /* 00001BAA */
label00001B70:
00001B70 302B 0020 move.w D0, [A3 + 0x20]
00001B74 B06D FB74 cmp.w D0, [A5 - 0x48C]
00001B78 6C14 bge +0x16 /* 00001B8E */
00001B7A 306D FB74 movea.w A0, [A5 - 0x48C]
00001B7E 2F08 move.l -[A7], A0
00001B80 306D FB74 movea.w A0, [A5 - 0x48C]
00001B84 2F08 move.l -[A7], A0
00001B86 2F2D FB40 move.l -[A7], [A5 - 0x4C0]
00001B8A A9D1 syscall TESetSelect
00001B8C 601C bra +0x1E /* 00001BAA */
label00001B8E:
00001B8E 302B 0022 move.w D0, [A3 + 0x22]
00001B92 B06D FB76 cmp.w D0, [A5 - 0x48A]
00001B96 6F12 ble +0x14 /* 00001BAA */
00001B98 306D FB76 movea.w A0, [A5 - 0x48A]
00001B9C 2F08 move.l -[A7], A0
00001B9E 306D FB76 movea.w A0, [A5 - 0x48A]
00001BA2 2F08 move.l -[A7], A0
00001BA4 2F2D FB40 move.l -[A7], [A5 - 0x4C0]
00001BA8 A9D1 syscall TESetSelect
label00001BAA:
00001BAA 4CDF 1880 movem.l D7,A3,A4, [A7]+
00001BAE 4E5E unlink A6
00001BB0 4E75 rts
fn00001BB2:
00001BB2 4E56 0000 link A6, 0
00001BB6 4A2D FB58 tst.b [A5 - 0x4A8]
00001BBA 6A08 bpl +0xA /* 00001BC4 */
00001BBC 701F moveq.l D0, 0x1F
00001BBE C06E 0008 and.w D0, [A6 + 0x8]
00001BC2 6054 bra +0x56 /* 00001C18 */
label00001BC4:
00001BC4 302E 0008 move.w D0, [A6 + 0x8]
00001BC8 0440 002E subi.w D0, 0x2E /* '.' */
00001BCC 0C40 004C cmpi.w D0, 0x4C /* 'L' */
00001BD0 6244 bhi +0x46 /* 00001C16 */
00001BD2 43FA 0048 lea.l A1, [PC + 0x48 /* 00001C1C, value 0xFFD4FFFA */]
00001BD6 D040 add.w D0, D0
00001BD8 D2F1 0000 add.w A1, [A1 + D0.w]
00001BDC 4ED1 jmp [A1]
00001BDE 4EBA 0308 jsr [PC + 0x308 /* 00001EE8 */]
00001BE2 6032 bra +0x34 /* 00001C16 */
00001BE4 4EBA 0350 jsr [PC + 0x350 /* 00001F36 */]
00001BE8 602C bra +0x2E /* 00001C16 */
00001BEA 4EBA 038C jsr [PC + 0x38C /* 00001F78 */]
00001BEE 6026 bra +0x28 /* 00001C16 */
00001BF0 4A2D FB5A tst.b [A5 - 0x4A6]
00001BF4 6706 beq +0x8 /* 00001BFC */
00001BF6 1B7C 0001 FB5C move.b [A5 - 0x4A4], 0x1
label00001BFC:
00001BFC 7004 moveq.l D0, 0x04
00001BFE 6018 bra +0x1A /* 00001C18 */
00001C00 7015 moveq.l D0, 0x15
00001C02 6014 bra +0x16 /* 00001C18 */
00001C04 4A2D FB5A tst.b [A5 - 0x4A6]
00001C08 670C beq +0xE /* 00001C16 */
00001C0A 426D FAEC clr.w [A5 - 0x514]
00001C0E 4267 clr.w -[A7]
00001C10 4EBA E784 jsr [PC - 0x187C /* 00000396 */]
00001C14 548F addq.l A7, 2
label00001C16:
00001C16 7000 moveq.l D0, 0x00
label00001C18:
00001C18 4E5E unlink A6
00001C1A 4E75 rts
00001C1C FFD4 .invalid <<F/7/7>>
00001C1E FFFA .invalid <<F/7/7>>
00001C20 FFFA .invalid <<F/7/7>>
00001C22 FFFA .invalid <<F/7/7>>
00001C24 FFFA .invalid <<F/7/7>>
00001C26 FFFA .invalid <<F/7/7>>
00001C28 FFFA .invalid <<F/7/7>>
00001C2A FFFA .invalid <<F/7/7>>
00001C2C FFFA .invalid <<F/7/7>>
00001C2E FFFA .invalid <<F/7/7>>
00001C30 FFFA .invalid <<F/7/7>>
00001C32 FFFA .invalid <<F/7/7>>
00001C34 FFFA .invalid <<F/7/7>>
00001C36 FFFA .invalid <<F/7/7>>
00001C38 FFFA .invalid <<F/7/7>>
00001C3A FFFA .invalid <<F/7/7>>
00001C3C FFFA .invalid <<F/7/7>>
00001C3E FFFA .invalid <<F/7/7>>
00001C40 FFFA .invalid <<F/7/7>>
00001C42 FFFA .invalid <<F/7/7>>
00001C44 FFFA .invalid <<F/7/7>>
00001C46 FFC8 .invalid <<F/7/7>>
00001C48 FFE0 .invalid <<F/7/7>>
00001C4A FFFA .invalid <<F/7/7>>
00001C4C FFFA .invalid <<F/7/7>>
00001C4E FFFA .invalid <<F/7/7>>
00001C50 FFFA .invalid <<F/7/7>>
00001C52 FFFA .invalid <<F/7/7>>
00001C54 FFFA .invalid <<F/7/7>>
00001C56 FFFA .invalid <<F/7/7>>
00001C58 FFFA .invalid <<F/7/7>>
00001C5A FFFA .invalid <<F/7/7>>
00001C5C FFFA .invalid <<F/7/7>>
00001C5E FFFA .invalid <<F/7/7>>
00001C60 FFFA .invalid <<F/7/7>>
00001C62 FFE8 .invalid <<F/7/7>>
00001C64 FFFA .invalid <<F/7/7>>
00001C66 FFFA .invalid <<F/7/7>>
00001C68 FFFA .invalid <<F/7/7>>
00001C6A FFE4 .invalid <<F/7/7>>
00001C6C FFCE .invalid <<F/7/7>>
00001C6E FFFA .invalid <<F/7/7>>
00001C70 FFC2 .invalid <<F/7/7>>
00001C72 FFFA .invalid <<F/7/7>>
00001C74 FFE4 .invalid <<F/7/7>>
00001C76 FFFA .invalid <<F/7/7>>
00001C78 FFFA .invalid <<F/7/7>>
00001C7A FFFA .invalid <<F/7/7>>
00001C7C FFFA .invalid <<F/7/7>>
00001C7E FFFA .invalid <<F/7/7>>
00001C80 FFFA .invalid <<F/7/7>>
00001C82 FFFA .invalid <<F/7/7>>
00001C84 FFFA .invalid <<F/7/7>>
00001C86 FFC8 .invalid <<F/7/7>>
00001C88 FFE0 .invalid <<F/7/7>>
00001C8A FFFA .invalid <<F/7/7>>
00001C8C FFFA .invalid <<F/7/7>>
00001C8E FFFA .invalid <<F/7/7>>
00001C90 FFFA .invalid <<F/7/7>>
00001C92 FFFA .invalid <<F/7/7>>
00001C94 FFFA .invalid <<F/7/7>>
00001C96 FFFA .invalid <<F/7/7>>
00001C98 FFFA .invalid <<F/7/7>>
00001C9A FFFA .invalid <<F/7/7>>
00001C9C FFFA .invalid <<F/7/7>>
00001C9E FFFA .invalid <<F/7/7>>
00001CA0 FFFA .invalid <<F/7/7>>
00001CA2 FFE8 .invalid <<F/7/7>>
00001CA4 FFFA .invalid <<F/7/7>>
00001CA6 FFFA .invalid <<F/7/7>>
00001CA8 FFFA .invalid <<F/7/7>>
00001CAA FFE4 .invalid <<F/7/7>>
00001CAC FFCE .invalid <<F/7/7>>
00001CAE FFFA .invalid <<F/7/7>>
00001CB0 FFC2 .invalid <<F/7/7>>
00001CB2 FFFA .invalid <<F/7/7>>
00001CB4 FFE4 .invalid <<F/7/7>>
fn00001CB6:
00001CB6 4E56 0000 link A6, 0
00001CBA 48E7 0718 movem.l -[A7], D5,D6,D7,A3,A4
00001CBE 206D FB40 movea.l A0, [A5 - 0x4C0]
00001CC2 2850 movea.l A4, [A0]
00001CC4 3E2C 0020 move.w D7, [A4 + 0x20]
00001CC8 3C2C 0022 move.w D6, [A4 + 0x22]
00001CCC 082D 0004 FB58 btst.b [A5 - 0x4A8], 0x4
00001CD2 6700 01CC beq +0x1CE /* 00001EA0 */
00001CD6 082D 0003 FB58 btst.b [A5 - 0x4A8], 0x3
00001CDC 670A beq +0xC /* 00001CE8 */
00001CDE 0C6E 007F 0008 cmpi.w [A6 + 0x8], 0x7F
00001CE4 6E00 01BA bgt +0x1BC /* 00001EA0 */
label00001CE8:
00001CE8 4A2D FB58 tst.b [A5 - 0x4A8]
00001CEC 6A14 bpl +0x16 /* 00001D02 */
00001CEE 206D FB6C movea.l A0, [A5 - 0x494]
00001CF2 52AD FB6C addq.l [A5 - 0x494], 1
00001CF6 10AE 0009 move.b [A0], [A6 + 0x9]
00001CFA 42AD FB70 clr.l [A5 - 0x490]
00001CFE 6000 01A6 bra +0x1A8 /* 00001EA6 */
label00001D02:
00001D02 0C6E 0020 0008 cmpi.w [A6 + 0x8], 0x20 /* ' ' */
00001D08 6C00 00D2 bge +0xD4 /* 00001DDC */
00001D0C 302E 0008 move.w D0, [A6 + 0x8]
00001D10 5740 subq.w D0, 3
00001D12 0C40 001C cmpi.w D0, 0x1C
00001D16 6200 018E bhi +0x190 /* 00001EA6 */
00001D1A 43FA 0192 lea.l A1, [PC + 0x192 /* 00001EAE, value 0xFEEAFEEA */]
00001D1E D040 add.w D0, D0
00001D20 D2F1 0000 add.w A1, [A1 + D0.w]
00001D24 4ED1 jmp [A1]
00001D26 202D FB6C move.l D0, [A5 - 0x494]
00001D2A 90AD FB68 sub.l D0, [A5 - 0x498]
00001D2E D1AD FB70 add.l [A5 - 0x490], D0
00001D32 2B6D FB68 FB6C move.l [A5 - 0x494], [A5 - 0x498]
00001D38 3E2D FB74 move.w D7, [A5 - 0x48C]
00001D3C 3C2D FB76 move.w D6, [A5 - 0x48A]
00001D40 6000 009A bra +0x9C /* 00001DDC */
00001D44 082D 0005 FB58 btst.b [A5 - 0x4A8], 0x5
00001D4A 6600 0090 bne +0x92 /* 00001DDC */
00001D4E 082D 0006 FB58 btst.b [A5 - 0x4A8], 0x6
00001D54 6600 00F4 bne +0xF6 /* 00001E4A */
00001D58 202D FB6C move.l D0, [A5 - 0x494]
00001D5C B0AD FB68 cmp.l D0, [A5 - 0x498]
00001D60 6700 013E beq +0x140 /* 00001EA0 */
00001D64 53AD FB6C subq.l [A5 - 0x494], 1
00001D68 52AD FB70 addq.l [A5 - 0x490], 1
00001D6C 6000 010C bra +0x10E /* 00001E7A */
00001D70 BC47 cmp.w D6, D7
00001D72 6600 0106 bne +0x108 /* 00001E7A */
00001D76 5347 subq.w D7, 1
00001D78 6000 0100 bra +0x102 /* 00001E7A */
00001D7C BC47 cmp.w D6, D7
00001D7E 6602 bne +0x4 /* 00001D82 */
00001D80 5246 addq.w D6, 1
label00001D82:
00001D82 3E06 move.w D7, D6
00001D84 6000 00F4 bra +0xF6 /* 00001E7A */
00001D88 3E2D FB74 move.w D7, [A5 - 0x48C]
00001D8C 6000 00EC bra +0xEE /* 00001E7A */
00001D90 3E2D FB76 move.w D7, [A5 - 0x48A]
00001D94 6000 00E4 bra +0xE6 /* 00001E7A */
00001D98 3A2D FB76 move.w D5, [A5 - 0x48A]
00001D9C 9A6D FB74 sub.w D5, [A5 - 0x48C]
00001DA0 671A beq +0x1C /* 00001DBC */
00001DA2 206C 003E movea.l A0, [A4 + 0x3E]
00001DA6 366D FB74 movea.w A3, [A5 - 0x48C]
00001DAA D7D0 add.l A3, [A0]
00001DAC 206D FB6C movea.l A0, [A5 - 0x494]
00001DB0 6002 bra +0x4 /* 00001DB4 */
label00001DB2:
00001DB2 10DB move.b [A0]+, [A3]+
label00001DB4:
00001DB4 51CD FFFC dbf D5, -0x6 /* 00001DB2 */
00001DB8 2B48 FB6C move.l [A5 - 0x494], A0
label00001DBC:
00001DBC 0C6E 0004 0008 cmpi.w [A6 + 0x8], 0x4
00001DC2 670C beq +0xE /* 00001DD0 */
00001DC4 206D FB6C movea.l A0, [A5 - 0x494]
00001DC8 52AD FB6C addq.l [A5 - 0x494], 1
00001DCC 10BC 000A move.b [A0], 0xA /* '\n' */
label00001DD0:
00001DD0 4EBA F944 jsr [PC - 0x6BC /* 00001716 */]
00001DD4 42AD FB70 clr.l [A5 - 0x490]
00001DD8 6000 00CC bra +0xCE /* 00001EA6 */
label00001DDC:
00001DDC 082D 0005 FB58 btst.b [A5 - 0x4A8], 0x5
00001DE2 6728 beq +0x2A /* 00001E0C */
00001DE4 BC47 cmp.w D6, D7
00001DE6 660A bne +0xC /* 00001DF2 */
00001DE8 0C6E 0008 0008 cmpi.w [A6 + 0x8], 0x8
00001DEE 661C bne +0x1E /* 00001E0C */
00001DF0 5347 subq.w D7, 1
label00001DF2:
00001DF2 BE6D FB74 cmp.w D7, [A5 - 0x48C]
00001DF6 6D00 00A8 blt +0xAA /* 00001EA0 */
00001DFA BC6D FB76 cmp.w D6, [A5 - 0x48A]
00001DFE 6E00 00A0 bgt +0xA2 /* 00001EA0 */
00001E02 3F06 move.w -[A7], D6
00001E04 3F07 move.w -[A7], D7
00001E06 4EBA F4FC jsr [PC - 0xB04 /* 00001304 */]
00001E0A 588F addq.l A7, 4
label00001E0C:
00001E0C 0C6E 0020 0008 cmpi.w [A6 + 0x8], 0x20 /* ' ' */
00001E12 6D66 blt +0x68 /* 00001E7A */
00001E14 302D FB76 move.w D0, [A5 - 0x48A]
00001E18 906D FB74 sub.w D0, [A5 - 0x48C]
00001E1C 72FF moveq.l D1, 0xFFFFFFFF
00001E1E D2AD FB70 add.l D1, [A5 - 0x490]
00001E22 3040 movea.w A0, D0
00001E24 B288 cmp.l D1, A0
00001E26 6608 bne +0xA /* 00001E30 */
00001E28 3F3C 0002 move.w -[A7], 0x2
00001E2C A9C8 syscall SysBeep
00001E2E 604A bra +0x4C /* 00001E7A */
label00001E30:
00001E30 082D 0005 FB58 btst.b [A5 - 0x4A8], 0x5
00001E36 6712 beq +0x14 /* 00001E4A */
00001E38 3007 move.w D0, D7
00001E3A 5247 addq.w D7, 1
00001E3C 3F00 move.w -[A7], D0
00001E3E 1F2E 0009 move.b -[A7], [A6 + 0x9]
00001E42 4EBA F544 jsr [PC - 0xABC /* 00001388 */]
00001E46 588F addq.l A7, 4
00001E48 6030 bra +0x32 /* 00001E7A */
label00001E4A:
00001E4A 206D FB6C movea.l A0, [A5 - 0x494]
00001E4E 52AD FB6C addq.l [A5 - 0x494], 1
00001E52 10AE 0009 move.b [A0], [A6 + 0x9]
00001E56 082D 0006 FB58 btst.b [A5 - 0x4A8], 0x6
00001E5C 6718 beq +0x1A /* 00001E76 */
00001E5E 3F3C 0001 move.w -[A7], 0x1
00001E62 206D FB6C movea.l A0, [A5 - 0x494]
00001E66 4868 FFFF pea.l [A0 - 0x1]
00001E6A 4EBA F2D2 jsr [PC - 0xD2E /* 0000113E */]
00001E6E 5C8F addq.l A7, 6
00001E70 42AD FB70 clr.l [A5 - 0x490]
00001E74 6030 bra +0x32 /* 00001EA6 */
label00001E76:
00001E76 53AD FB70 subq.l [A5 - 0x490], 1
label00001E7A:
00001E7A BE6D FB76 cmp.w D7, [A5 - 0x48A]
00001E7E 6F06 ble +0x8 /* 00001E86 */
00001E80 3E2D FB76 move.w D7, [A5 - 0x48A]
00001E84 600A bra +0xC /* 00001E90 */
label00001E86:
00001E86 BE6D FB74 cmp.w D7, [A5 - 0x48C]
00001E8A 6C04 bge +0x6 /* 00001E90 */
00001E8C 3E2D FB74 move.w D7, [A5 - 0x48C]
label00001E90:
00001E90 3007 move.w D0, D7
00001E92 906D FB74 sub.w D0, [A5 - 0x48C]
00001E96 3F00 move.w -[A7], D0
00001E98 4EBA F5C6 jsr [PC - 0xA3A /* 00001460 */]
00001E9C 548F addq.l A7, 2
00001E9E 6006 bra +0x8 /* 00001EA6 */
label00001EA0:
00001EA0 3F3C 0002 move.w -[A7], 0x2
00001EA4 A9C8 syscall SysBeep
label00001EA6:
00001EA6 4CDF 18E0 movem.l D5,D6,D7,A3,A4, [A7]+
00001EAA 4E5E unlink A6
00001EAC 4E75 rts
00001EAE FEEA FEEA .extension 0xEEA <<F/2-3/7>> // unimplemented
00001EB2 FFF8 .invalid <<F/7/7>>
00001EB4 FFF8 .invalid <<F/7/7>>
00001EB6 FFF8 .invalid <<F/7/7>>
00001EB8 FE96 FEE2 .extension 0xE96 <<F/2-3/7>> // unimplemented
00001EBC FFF8 .invalid <<F/7/7>>
00001EBE FFF8 .invalid <<F/7/7>>
00001EC0 FFF8 .invalid <<F/7/7>>
00001EC2 FEEA FFF8 .extension 0xEEA <<F/2-3/7>> // unimplemented
00001EC6 FFF8 .invalid <<F/7/7>>
00001EC8 FFF8 .invalid <<F/7/7>>
00001ECA FFF8 .invalid <<F/7/7>>
00001ECC FFF8 .invalid <<F/7/7>>
00001ECE FFF8 .invalid <<F/7/7>>
00001ED0 FFF8 .invalid <<F/7/7>>
00001ED2 FE78 FFF8 .extension 0xE78 <<F/1/7>>, 0xFFF8 // unimplemented
00001ED6 FFF8 .invalid <<F/7/7>>
00001ED8 FFF8 .invalid <<F/7/7>>
00001EDA FFF8 .invalid <<F/7/7>>
00001EDC FFF8 .invalid <<F/7/7>>
00001EDE FE78 FEC2 .extension 0xE78 <<F/1/7>>, 0xFEC2 // unimplemented
00001EE2 FECE FEDA .extension 0xECE <<F/2-3/7>> // unimplemented
00001EE6 FEE2 2F0C .extension 0xEE2 <<F/2-3/7>> // unimplemented
// begin alternate branch 00001EE8-00001EEA
fn00001EE8:
00001EE8 2F0C move.l -[A7], A4
// end alternate branch 00001EE8-00001EEA
fn00001EE8: // (misaligned)
00001EEA 206D FB40 movea.l A0, [A5 - 0x4C0]
00001EEE 2850 movea.l A4, [A0]
00001EF0 4A6C 0024 tst.w [A4 + 0x24]
00001EF4 673C beq +0x3E /* 00001F32 */
00001EF6 302C 0020 move.w D0, [A4 + 0x20]
00001EFA B06C 0022 cmp.w D0, [A4 + 0x22]
00001EFE 6C32 bge +0x34 /* 00001F32 */
00001F00 082D 0004 FB58 btst.b [A5 - 0x4A8], 0x4
00001F06 6714 beq +0x16 /* 00001F1C */
00001F08 302C 0020 move.w D0, [A4 + 0x20]
00001F0C B06D FB74 cmp.w D0, [A5 - 0x48C]
00001F10 6D0A blt +0xC /* 00001F1C */
00001F12 302C 0022 move.w D0, [A4 + 0x22]
00001F16 B06D FB76 cmp.w D0, [A5 - 0x48A]
00001F1A 6F08 ble +0xA /* 00001F24 */
label00001F1C:
00001F1C 3F3C 0002 move.w -[A7], 0x2
00001F20 A9C8 syscall SysBeep
00001F22 600E bra +0x10 /* 00001F32 */
label00001F24:
00001F24 4EBA 0010 jsr [PC + 0x10 /* 00001F36 */]
00001F28 3F3C 0008 move.w -[A7], 0x8
00001F2C 4EBA FD88 jsr [PC - 0x278 /* 00001CB6 */]
00001F30 548F addq.l A7, 2
label00001F32:
00001F32 285F movea.l A4, [A7]+
00001F34 4E75 rts
fn00001F36:
00001F36 2F0C move.l -[A7], A4
00001F38 206D FB40 movea.l A0, [A5 - 0x4C0]
00001F3C 2850 movea.l A4, [A0]
00001F3E 4A6C 0024 tst.w [A4 + 0x24]
00001F42 6730 beq +0x32 /* 00001F74 */
00001F44 302C 0020 move.w D0, [A4 + 0x20]
00001F48 B06C 0022 cmp.w D0, [A4 + 0x22]
00001F4C 6C26 bge +0x28 /* 00001F74 */
00001F4E 2F2D FB40 move.l -[A7], [A5 - 0x4C0]
00001F52 A9D5 syscall TECopy
00001F54 42A7 clr.l -[A7]
00001F56 A9FC syscall ZeroScrap
00001F58 4297 clr.l [A7]
00001F5A 3078 0AB0 movea.w A0, [0x00000AB0 /* TEScrpLength */]
00001F5E 2F08 move.l -[A7], A0
00001F60 2F3C 5445 5854 move.l -[A7], 0x54455854 /* 'TEXT' */
00001F66 4EBA F77E jsr [PC - 0x882 /* 000016E6 */]
00001F6A 2F00 move.l -[A7], D0
00001F6C A9FE syscall PutScrap
00001F6E 4EBA F79E jsr [PC - 0x862 /* 0000170E */]
00001F72 588F addq.l A7, 4
label00001F74:
00001F74 285F movea.l A4, [A7]+
00001F76 4E75 rts
fn00001F78:
00001F78 082D 0004 FB58 btst.b [A5 - 0x4A8], 0x4
00001F7E 6720 beq +0x22 /* 00001FA0 */
00001F80 206D FB40 movea.l A0, [A5 - 0x4C0]
00001F84 2050 movea.l A0, [A0]
00001F86 3028 0020 move.w D0, [A0 + 0x20]
00001F8A B06D FB74 cmp.w D0, [A5 - 0x48C]
00001F8E 6D10 blt +0x12 /* 00001FA0 */
00001F90 206D FB40 movea.l A0, [A5 - 0x4C0]
00001F94 2050 movea.l A0, [A0]
00001F96 3028 0022 move.w D0, [A0 + 0x22]
00001F9A B06D FB76 cmp.w D0, [A5 - 0x48A]
00001F9E 6F08 ble +0xA /* 00001FA8 */
label00001FA0:
00001FA0 3F3C 0002 move.w -[A7], 0x2
00001FA4 A9C8 syscall SysBeep
00001FA6 6032 bra +0x34 /* 00001FDA */
label00001FA8:
00001FA8 42A7 clr.l -[A7]
00001FAA 2F38 0AB4 move.l -[A7], [0x00000AB4 /* TEScrpHandle */]
00001FAE 2F3C 5445 5854 move.l -[A7], 0x54455854 /* 'TEXT' */
00001FB4 486D FB4C pea.l [A5 - 0x4B4]
00001FB8 A9FD syscall GetScrap
00001FBA 201F move.l D0, [A7]+
00001FBC 2B40 FB50 move.l [A5 - 0x4B0], D0
00001FC0 4A80 tst.l D0
00001FC2 6F12 ble +0x14 /* 00001FD6 */
00001FC4 2B78 0AB4 FB48 move.l [A5 - 0x4B8], [0x00000AB4 /* TEScrpHandle */]
00001FCA 7000 moveq.l D0, 0x00
00001FCC A122 syscall NewHandle, flags=1
00001FCE 21C8 0AB4 move.l [0x00000AB4 /* TEScrpHandle */], A0
00001FD2 42AD FB4C clr.l [A5 - 0x4B4]
label00001FD6:
00001FD6 4278 0AB0 clr.w [0x00000AB0 /* TEScrpLength */]
label00001FDA:
00001FDA 4E75 rts
fn00001FDC:
00001FDC 4E56 FFFC link A6, -0x0004
00001FE0 303C A8FD move.w D0, 0xA8FD
00001FE4 A146 syscall GetTrapAddress, flags=1
00001FE6 2D48 FFFC move.l [A6 - 0x4], A0
00001FEA 303C A89F move.w D0, 0xA89F
00001FEE A146 syscall GetTrapAddress, flags=1
00001FF0 B1EE FFFC cmpa.l A0, [A6 - 0x4]
00001FF4 660A bne +0xC /* 00002000 */
00001FF6 206D FB54 movea.l A0, [A5 - 0x4AC]
00001FFA 0890 0000 bclr.b [A0], 0x0
00001FFE 6028 bra +0x2A /* 00002028 */
label00002000:
00002000 4A2D FB5B tst.b [A5 - 0x4A5]
00002004 6622 bne +0x24 /* 00002028 */
00002006 2F3C C800 0000 move.l -[A7], 0xC8000000
0000200C A8FD syscall PrGlue
0000200E 4267 clr.w -[A7]
00002010 2F3C BA00 0000 move.l -[A7], 0xBA000000
00002016 A8FD syscall PrGlue
00002018 4A5F tst.w [A7]+
0000201A 660C bne +0xE /* 00002028 */
0000201C 4EBA 000E jsr [PC + 0xE /* 0000202C */]
00002020 2F3C D000 0000 move.l -[A7], 0xD0000000
00002026 A8FD syscall PrGlue
label00002028:
00002028 4E5E unlink A6
0000202A 4E75 rts
fn0000202C:
0000202C 4E56 FDD6 link A6, -0x022A
00002030 48E7 0738 movem.l -[A7], D5,D6,D7,A2,A3,A4
00002034 7078 moveq.l D0, 0x78
00002036 A122 syscall NewHandle, flags=1
00002038 2848 movea.l A4, A0
0000203A 2F0C move.l -[A7], A4
0000203C 2F3C 2004 0480 move.l -[A7], 0x20040480
00002042 A8FD syscall PrGlue
00002044 4AAD FB28 tst.l [A5 - 0x4D8]
00002048 6716 beq +0x18 /* 00002060 */
0000204A 2F2D FB28 move.l -[A7], [A5 - 0x4D8]
0000204E 2F0C move.l -[A7], A4
00002050 2F3C 5804 089C move.l -[A7], 0x5804089C
00002056 A8FD syscall PrGlue
00002058 206D FB28 movea.l A0, [A5 - 0x4D8]
0000205C A023 syscall DisposHandle/DisposeHandle
0000205E 601C bra +0x1E /* 0000207C */
label00002060:
00002060 A850 syscall InitCursor
00002062 4227 clr.b -[A7]
00002064 2F0C move.l -[A7], A4
00002066 2F3C 3204 0488 move.l -[A7], 0x32040488
0000206C A8FD syscall PrGlue
0000206E 4A1F tst.b [A7]+
00002070 660A bne +0xC /* 0000207C */
00002072 1B7C 0001 FB5B move.b [A5 - 0x4A5], 0x1
00002078 6000 0136 bra +0x138 /* 000021B0 */
label0000207C:
0000207C 2B4C FB28 move.l [A5 - 0x4D8], A4
00002080 486E FFFC pea.l [A6 - 0x4]
00002084 A874 syscall GetPort
00002086 42A7 clr.l -[A7]
00002088 2F0C move.l -[A7], A4
0000208A 42A7 clr.l -[A7]
0000208C 42A7 clr.l -[A7]
0000208E 2F3C 0400 0C00 move.l -[A7], 0x4000C00
00002094 A8FD syscall PrGlue
00002096 265F movea.l A3, [A7]+
00002098 206D FB40 movea.l A0, [A5 - 0x4C0]
0000209C 2450 movea.l A2, [A0]
0000209E 3F2A 004A move.w -[A7], [A2 + 0x4A]
000020A2 A887 syscall TextFont
000020A4 3F2A 0050 move.w -[A7], [A2 + 0x50]
000020A8 A88A syscall TextSize
000020AA 7000 moveq.l D0, 0x00
000020AC 102A 004C move.b D0, [A2 + 0x4C]
000020B0 3F00 move.w -[A7], D0
000020B2 A888 syscall TextFace
000020B4 3E2A 001A move.w D7, [A2 + 0x1A]
000020B8 2054 movea.l A0, [A4]
000020BA 2D68 0008 FFF4 move.l [A6 - 0xC], [A0 + 0x8]
000020C0 2D68 000C FFF8 move.l [A6 - 0x8], [A0 + 0xC]
000020C6 3C2E FFF8 move.w D6, [A6 - 0x8]
000020CA 9C6E FFF4 sub.w D6, [A6 - 0xC]
000020CE 48C6 ext.l D6
000020D0 8DED FB32 divs.w D6, [A5 - 0x4CE]
000020D4 7024 moveq.l D0, 0x24
000020D6 D06E FFF6 add.w D0, [A6 - 0xA]
000020DA 3D40 FFF2 move.w [A6 - 0xE], D0
000020DE 2F2D FB54 move.l -[A7], [A5 - 0x4AC]
000020E2 4EBA 08E8 jsr [PC + 0x8E8 /* 000029CC */]
000020E6 206D FB54 movea.l A0, [A5 - 0x4AC]
000020EA 0890 0006 bclr.b [A0], 0x6
000020EE 588F addq.l A7, 4
label000020F0:
000020F0 2F0B move.l -[A7], A3
000020F2 42A7 clr.l -[A7]
000020F4 2F3C 1000 0808 move.l -[A7], 0x10000808
000020FA A8FD syscall PrGlue
000020FC 302E FFF4 move.w D0, [A6 - 0xC]
00002100 D047 add.w D0, D7
00002102 3D40 FFF0 move.w [A6 - 0x10], D0
00002106 7A00 moveq.l D5, 0x00
00002108 602A bra +0x2C /* 00002134 */
label0000210A:
0000210A 3F2E FFF2 move.w -[A7], [A6 - 0xE]
0000210E 3F2E FFF0 move.w -[A7], [A6 - 0x10]
00002112 A893 syscall MoveTo
00002114 486E FDF0 pea.l [A6 - 0x210]
00002118 4267 clr.w -[A7]
0000211A 486E FDF0 pea.l [A6 - 0x210]
0000211E 4EBA 268E jsr [PC + 0x268E /* 000047AE */]
00002122 5340 subq.w D0, 1
00002124 548F addq.l A7, 2
00002126 3E80 move.w [A7], D0
00002128 A885 syscall DrawText
0000212A 302D FB32 move.w D0, [A5 - 0x4CE]
0000212E D16E FFF0 add.w [A6 - 0x10], D0
00002132 5245 addq.w D5, 1
label00002134:
00002134 BC45 cmp.w D6, D5
00002136 6F18 ble +0x1A /* 00002150 */
00002138 2F2D FB54 move.l -[A7], [A5 - 0x4AC]
0000213C 3F3C 0200 move.w -[A7], 0x200
00002140 486E FDF0 pea.l [A6 - 0x210]
00002144 4EBA 0A4C jsr [PC + 0xA4C /* 00002B92 */]
00002148 4A80 tst.l D0
0000214A 4FEF 000A lea.l A7, [A7 + 0xA]
0000214E 66BA bne -0x44 /* 0000210A */
label00002150:
00002150 2F0B move.l -[A7], A3
00002152 2F3C 1800 040C move.l -[A7], 0x1800040C
00002158 A8FD syscall PrGlue
0000215A 4267 clr.w -[A7]
0000215C 2F3C BA00 0000 move.l -[A7], 0xBA000000
00002162 A8FD syscall PrGlue
00002164 4A5F tst.w [A7]+
00002166 660C bne +0xE /* 00002174 */
00002168 206D FB54 movea.l A0, [A5 - 0x4AC]
0000216C 0810 0005 btst.b [A0], 0x5
00002170 6700 FF7E beq -0x80 /* 000020F0 */
label00002174:
00002174 2F0B move.l -[A7], A3
00002176 2F3C 0800 0484 move.l -[A7], 0x8000484
0000217C A8FD syscall PrGlue
0000217E 2F2E FFFC move.l -[A7], [A6 - 0x4]
00002182 A873 syscall SetPort
00002184 2054 movea.l A0, [A4]
00002186 0C28 0001 0044 cmpi.b [A0 + 0x44], 0x1
0000218C 6622 bne +0x24 /* 000021B0 */
0000218E 4267 clr.w -[A7]
00002190 2F3C BA00 0000 move.l -[A7], 0xBA000000
00002196 A8FD syscall PrGlue
00002198 4A5F tst.w [A7]+
0000219A 6614 bne +0x16 /* 000021B0 */
0000219C 2F0C move.l -[A7], A4
0000219E 42A7 clr.l -[A7]
000021A0 42A7 clr.l -[A7]
000021A2 42A7 clr.l -[A7]
000021A4 486E FDD6 pea.l [A6 - 0x22A]
000021A8 2F3C 6005 1480 move.l -[A7], 0x60051480
000021AE A8FD syscall PrGlue
label000021B0:
000021B0 4CDF 1CE0 movem.l D5,D6,D7,A2,A3,A4, [A7]+
000021B4 4E5E unlink A6
000021B6 4E75 rts
000021B8 4E56 0000 link A6, 0
000021BC 7000 moveq.l D0, 0x00
000021BE 102E 0009 move.b D0, [A6 + 0x9]
000021C2 204D movea.l A0, A5
000021C4 D1C0 add.l A0, D0
000021C6 1028 FBEA move.b D0, [A0 - 0x416]
000021CA 4880 ext.w D0
000021CC 0240 00D0 andi.w D0, 0xD0
000021D0 4E5E unlink A6
000021D2 4E75 rts
000021D4 4E56 0000 link A6, 0
000021D8 7000 moveq.l D0, 0x00
000021DA 102E 0009 move.b D0, [A6 + 0x9]
000021DE 204D movea.l A0, A5
000021E0 D1C0 add.l A0, D0
000021E2 1028 FBEA move.b D0, [A0 - 0x416]
000021E6 4880 ext.w D0
000021E8 0240 00C0 andi.w D0, 0xC0
000021EC 4E5E unlink A6
000021EE 4E75 rts
000021F0 4E56 0000 link A6, 0
000021F4 7000 moveq.l D0, 0x00
000021F6 102E 0009 move.b D0, [A6 + 0x9]
000021FA 204D movea.l A0, A5
000021FC D1C0 add.l A0, D0
000021FE 1028 FBEA move.b D0, [A0 - 0x416]
00002202 4880 ext.w D0
00002204 0240 0003 andi.w D0, 0x3
00002208 4E5E unlink A6
0000220A 4E75 rts
0000220C 4E56 0000 link A6, 0
00002210 7000 moveq.l D0, 0x00
00002212 102E 0009 move.b D0, [A6 + 0x9]
00002216 204D movea.l A0, A5
00002218 D1C0 add.l A0, D0
0000221A 1028 FBEA move.b D0, [A0 - 0x416]
0000221E 4880 ext.w D0
00002220 0240 0010 andi.w D0, 0x10
00002224 4E5E unlink A6
00002226 4E75 rts
00002228 4E56 0000 link A6, 0
0000222C 7000 moveq.l D0, 0x00
0000222E 102E 0009 move.b D0, [A6 + 0x9]
00002232 204D movea.l A0, A5
00002234 D1C0 add.l A0, D0
00002236 1028 FBEA move.b D0, [A0 - 0x416]
0000223A 4880 ext.w D0
0000223C 0240 00D8 andi.w D0, 0xD8
00002240 4E5E unlink A6
00002242 4E75 rts
00002244 4E56 0000 link A6, 0
00002248 7000 moveq.l D0, 0x00
0000224A 102E 0009 move.b D0, [A6 + 0x9]
0000224E 204D movea.l A0, A5
00002250 D1C0 add.l A0, D0
00002252 1028 FBEA move.b D0, [A0 - 0x416]
00002256 4880 ext.w D0
00002258 0240 0080 andi.w D0, 0x80
0000225C 4E5E unlink A6
0000225E 4E75 rts
00002260 4E56 0000 link A6, 0
00002264 7000 moveq.l D0, 0x00
00002266 102E 0009 move.b D0, [A6 + 0x9]
0000226A 204D movea.l A0, A5
0000226C D1C0 add.l A0, D0
0000226E 1028 FBEA move.b D0, [A0 - 0x416]
00002272 4880 ext.w D0
00002274 0240 00DC andi.w D0, 0xDC
00002278 4E5E unlink A6
0000227A 4E75 rts
0000227C 4E56 0000 link A6, 0
00002280 7000 moveq.l D0, 0x00
00002282 102E 0009 move.b D0, [A6 + 0x9]
00002286 204D movea.l A0, A5
00002288 D1C0 add.l A0, D0
0000228A 1028 FBEA move.b D0, [A0 - 0x416]
0000228E 4880 ext.w D0
00002290 0240 0008 andi.w D0, 0x8
00002294 4E5E unlink A6
00002296 4E75 rts
00002298 4E56 0000 link A6, 0
0000229C 7000 moveq.l D0, 0x00
0000229E 102E 0009 move.b D0, [A6 + 0x9]
000022A2 204D movea.l A0, A5
000022A4 D1C0 add.l A0, D0
000022A6 1028 FBEA move.b D0, [A0 - 0x416]
000022AA 4880 ext.w D0
000022AC 0240 0006 andi.w D0, 0x6
000022B0 4E5E unlink A6
000022B2 4E75 rts
000022B4 4E56 0000 link A6, 0
000022B8 7000 moveq.l D0, 0x00
000022BA 102E 0009 move.b D0, [A6 + 0x9]
000022BE 204D movea.l A0, A5
000022C0 D1C0 add.l A0, D0
000022C2 1028 FBEA move.b D0, [A0 - 0x416]
000022C6 4880 ext.w D0
000022C8 0240 0040 andi.w D0, 0x40 /* '@' */
000022CC 4E5E unlink A6
000022CE 4E75 rts
000022D0 4E56 0000 link A6, 0
000022D4 7000 moveq.l D0, 0x00
000022D6 102E 0009 move.b D0, [A6 + 0x9]
000022DA 204D movea.l A0, A5
000022DC D1C0 add.l A0, D0
000022DE 1028 FBEA move.b D0, [A0 - 0x416]
000022E2 4880 ext.w D0
000022E4 0240 0030 andi.w D0, 0x30 /* '0' */
000022E8 4E5E unlink A6
000022EA 4E75 rts
export_33:
000022EC 4E56 0000 link A6, 0
000022F0 7000 moveq.l D0, 0x00
000022F2 102E 0009 move.b D0, [A6 + 0x9]
000022F6 204D movea.l A0, A5
000022F8 D1C0 add.l A0, D0
000022FA 4A28 FBEA tst.b [A0 - 0x416]
000022FE 6A0A bpl +0xC /* 0000230A */
00002300 302E 0008 move.w D0, [A6 + 0x8]
00002304 0A40 0020 xori.w D0, 0x20 /* ' ' */
00002308 6004 bra +0x6 /* 0000230E */
label0000230A:
0000230A 302E 0008 move.w D0, [A6 + 0x8]
label0000230E:
0000230E 4E5E unlink A6
00002310 4E75 rts
00002312 4E56 0000 link A6, 0
00002316 7000 moveq.l D0, 0x00
00002318 102E 0009 move.b D0, [A6 + 0x9]
0000231C 204D movea.l A0, A5
0000231E D1C0 add.l A0, D0
00002320 0828 0006 FBEA btst.b [A0 - 0x416], 0x6
00002326 670A beq +0xC /* 00002332 */
00002328 302E 0008 move.w D0, [A6 + 0x8]
0000232C 0A40 0020 xori.w D0, 0x20 /* ' ' */
00002330 6004 bra +0x6 /* 00002336 */
label00002332:
00002332 302E 0008 move.w D0, [A6 + 0x8]
label00002336:
00002336 4E5E unlink A6
00002338 4E75 rts
0000233A 4E56 FECE link A6, -0x0132
0000233E 486E FECE pea.l [A6 - 0x132]
00002342 2F2E 0008 move.l -[A7], [A6 + 0x8]
00002346 4EBA 21BC jsr [PC + 0x21BC /* 00004504 */]
0000234A 2D40 FFE0 move.l [A6 - 0x20], D0
0000234E 426E FFE4 clr.w [A6 - 0x1C]
00002352 422E FFE8 clr.b [A6 - 0x18]
00002356 41EE FFCE lea.l A0, [A6 - 0x32]
0000235A A009 syscall Delete/PBHDelete/HDelete
0000235C 4A40 tst.w D0
0000235E 508F addq.l A7, 8
00002360 670A beq +0xC /* 0000236C */
00002362 3B6E FFDE FCEA move.w [A5 - 0x316], [A6 - 0x22]
00002368 70FF moveq.l D0, 0xFFFFFFFF
0000236A 6002 bra +0x4 /* 0000236E */
label0000236C:
0000236C 7000 moveq.l D0, 0x00
label0000236E:
0000236E 4E5E unlink A6
00002370 4E75 rts
00002372 4E56 FDCE link A6, -0x0232
00002376 486E FECE pea.l [A6 - 0x132]
0000237A 2F2E 0008 move.l -[A7], [A6 + 0x8]
0000237E 4EBA 2184 jsr [PC + 0x2184 /* 00004504 */]
00002382 2D40 FFE0 move.l [A6 - 0x20], D0
00002386 426E FFE4 clr.w [A6 - 0x1C]
0000238A 422E FFE8 clr.b [A6 - 0x18]
0000238E 486E FDCE pea.l [A6 - 0x232]
00002392 2F2E 000C move.l -[A7], [A6 + 0xC]
00002396 4EBA 216C jsr [PC + 0x216C /* 00004504 */]
0000239A 2D40 FFEA move.l [A6 - 0x16], D0
0000239E 41EE FFCE lea.l A0, [A6 - 0x32]
000023A2 A00B syscall Rename/PBHRename/HRename
000023A4 4A40 tst.w D0
000023A6 4FEF 0010 lea.l A7, [A7 + 0x10]
000023AA 670A beq +0xC /* 000023B6 */
000023AC 3B6E FFDE FCEA move.w [A5 - 0x316], [A6 - 0x22]
000023B2 70FF moveq.l D0, 0xFFFFFFFF
000023B4 6002 bra +0x4 /* 000023B8 */
label000023B6:
000023B6 7000 moveq.l D0, 0x00
label000023B8:
000023B8 4E5E unlink A6
000023BA 4E75 rts
fn000023BC:
000023BC 4E56 FFEC link A6, -0x0014
000023C0 2F0C move.l -[A7], A4
000023C2 486D FCEC pea.l [A5 - 0x314]
000023C6 486D FD04 pea.l [A5 - 0x2FC]
000023CA 486E FFEC pea.l [A6 - 0x14]
000023CE 4EBA 0054 jsr [PC + 0x54 /* 00002424 */]
000023D2 4A80 tst.l D0
000023D4 4FEF 000C lea.l A7, [A7 + 0xC]
000023D8 671C beq +0x1E /* 000023F6 */
000023DA 486D FD0C pea.l [A5 - 0x2F4]
000023DE 486E FFEC pea.l [A6 - 0x14]
000023E2 4EBA 00C4 jsr [PC + 0xC4 /* 000024A8 */]
000023E6 2840 movea.l A4, D0
000023E8 200C move.l D0, A4
000023EA 508F addq.l A7, 8
000023EC 6708 beq +0xA /* 000023F6 */
000023EE 08D4 0000 bset.b [A4], 0x0
000023F2 200C move.l D0, A4
000023F4 6002 bra +0x4 /* 000023F8 */
label000023F6:
000023F6 7000 moveq.l D0, 0x00
label000023F8:
000023F8 285F movea.l A4, [A7]+
000023FA 4E5E unlink A6
000023FC 4E75 rts
000023FE 4E56 0000 link A6, 0
00002402 4AAE 0008 tst.l [A6 + 0x8]
00002406 6608 bne +0xA /* 00002410 */
00002408 41ED FCEE lea.l A0, [A5 - 0x312]
0000240C 2D48 0008 move.l [A6 + 0x8], A0
label00002410:
00002410 486D FD02 pea.l [A5 - 0x2FE]
00002414 486D FD10 pea.l [A5 - 0x2F0]
00002418 2F2E 0008 move.l -[A7], [A6 + 0x8]
0000241C 4EBA 0006 jsr [PC + 0x6 /* 00002424 */]
00002420 4E5E unlink A6
00002422 4E75 rts
fn00002424:
00002424 4E56 FFB0 link A6, -0x0050
00002428 48E7 0118 movem.l -[A7], D7,A3,A4
0000242C 286E 0008 movea.l A4, [A6 + 0x8]
00002430 266E 0010 movea.l A3, [A6 + 0x10]
00002434 3E13 move.w D7, [A3]
00002436 2F2E 000C move.l -[A7], [A6 + 0xC]
0000243A 4EBA 2372 jsr [PC + 0x2372 /* 000047AE */]
0000243E 5800 addq.b D0, 4
00002440 1880 move.b [A4], D0
00002442 2D4C FFC2 move.l [A6 - 0x3E], A4
00002446 426E FFC6 clr.w [A6 - 0x3A]
0000244A 422E FFCA clr.b [A6 - 0x36]
0000244E 426E FFCC clr.w [A6 - 0x34]
00002452 588F addq.l A7, 4
label00002454:
00002454 5253 addq.w [A3], 1
00002456 0C53 270F cmpi.w [A3], 0x270F
0000245A 6F04 ble +0x6 /* 00002460 */
0000245C 36BC 0001 move.w [A3], 0x1
label00002460:
00002460 BE53 cmp.w D7, [A3]
00002462 6604 bne +0x6 /* 00002468 */
00002464 7000 moveq.l D0, 0x00
00002466 6036 bra +0x38 /* 0000249E */
label00002468:
00002468 3F13 move.w -[A7], [A3]
0000246A 2F2E 000C move.l -[A7], [A6 + 0xC]
0000246E 486D FD16 pea.l [A5 - 0x2EA]
00002472 486C 0001 pea.l [A4 + 0x1]
00002476 4EBA 213A jsr [PC + 0x213A /* 000045B2 */]
0000247A 4FEF 000E lea.l A7, [A7 + 0xE]
0000247E 41EE FFB0 lea.l A0, [A6 - 0x50]
00002482 A00C syscall GetFileInfo/PBHGetFInfo/HGetFileInfo
00002484 0C40 FFD5 cmpi.w D0, 0xFFD5
00002488 66CA bne -0x34 /* 00002454 */
0000248A 7000 moveq.l D0, 0x00
0000248C 1014 move.b D0, [A4]
0000248E 3040 movea.w A0, D0
00002490 4868 0001 pea.l [A0 + 0x1]
00002494 486C 0001 pea.l [A4 + 0x1]
00002498 2F0C move.l -[A7], A4
0000249A 4EBA 0A7E jsr [PC + 0xA7E /* 00002F1A */]
label0000249E:
0000249E 4CEE 1880 FFA4 movem.l D7,A3,A4, [A6 - 0x5C]
000024A4 4E5E unlink A6
000024A6 4E75 rts
fn000024A8:
000024A8 4E56 0000 link A6, 0
000024AC 4EBA 083E jsr [PC + 0x83E /* 00002CEC */]
000024B0 2F00 move.l -[A7], D0
000024B2 2F2E 000C move.l -[A7], [A6 + 0xC]
000024B6 2F2E 0008 move.l -[A7], [A6 + 0x8]
000024BA 4EBA 0006 jsr [PC + 0x6 /* 000024C2 */]
000024BE 4E5E unlink A6
000024C0 4E75 rts
fn000024C2:
000024C2 4E56 0000 link A6, 0
000024C6 48E7 0308 movem.l -[A7], D6,D7,A4
000024CA 286E 000C movea.l A4, [A6 + 0xC]
000024CE 0C14 0072 cmpi.b [A4], 0x72 /* 'r' */
000024D2 6606 bne +0x8 /* 000024DA */
000024D4 7E01 moveq.l D7, 0x01
000024D6 7C00 moveq.l D6, 0x00
000024D8 6022 bra +0x24 /* 000024FC */
label000024DA:
000024DA 0C14 0077 cmpi.b [A4], 0x77 /* 'w' */
000024DE 6606 bne +0x8 /* 000024E6 */
000024E0 7E02 moveq.l D7, 0x02
000024E2 7C03 moveq.l D6, 0x03
000024E4 6016 bra +0x18 /* 000024FC */
label000024E6:
000024E6 0C14 0061 cmpi.b [A4], 0x61 /* 'a' */
000024EA 6606 bne +0x8 /* 000024F2 */
000024EC 7E02 moveq.l D7, 0x02
000024EE 7C09 moveq.l D6, 0x09
000024F0 600A bra +0xC /* 000024FC */
label000024F2:
000024F2 3B7C 0016 FCEA move.w [A5 - 0x316], 0x16
000024F8 7000 moveq.l D0, 0x00
000024FA 603E bra +0x40 /* 0000253A */
label000024FC:
000024FC 0C2C 0062 0001 cmpi.b [A4 + 0x1], 0x62 /* 'b' */
00002502 6610 bne +0x12 /* 00002514 */
00002504 0046 0010 ori.w D6, 0x10
00002508 0C2C 002B 0002 cmpi.b [A4 + 0x2], 0x2B /* '+' */
0000250E 661A bne +0x1C /* 0000252A */
00002510 7E03 moveq.l D7, 0x03
00002512 6016 bra +0x18 /* 0000252A */
label00002514:
00002514 0C2C 002B 0001 cmpi.b [A4 + 0x1], 0x2B /* '+' */
0000251A 660E bne +0x10 /* 0000252A */
0000251C 7E03 moveq.l D7, 0x03
0000251E 0C2C 0062 0002 cmpi.b [A4 + 0x2], 0x62 /* 'b' */
00002524 6604 bne +0x6 /* 0000252A */
00002526 0046 0010 ori.w D6, 0x10
label0000252A:
0000252A 2F2E 0010 move.l -[A7], [A6 + 0x10]
0000252E 3F06 move.w -[A7], D6
00002530 3F07 move.w -[A7], D7
00002532 2F2E 0008 move.l -[A7], [A6 + 0x8]
00002536 4EBA 000C jsr [PC + 0xC /* 00002544 */]
label0000253A:
0000253A 4CEE 10C0 FFF4 movem.l D6,D7,A4, [A6 - 0xC]
00002540 4E5E unlink A6
00002542 4E75 rts
fn00002544:
00002544 4E56 FECE link A6, -0x0132
00002548 48E7 0108 movem.l -[A7], D7,A4
0000254C 3E2E 000E move.w D7, [A6 + 0xE]
00002550 286E 0010 movea.l A4, [A6 + 0x10]
00002554 200C move.l D0, A4
00002556 6606 bne +0x8 /* 0000255E */
00002558 7000 moveq.l D0, 0x00
0000255A 6000 00FE bra +0x100 /* 0000265A */
label0000255E:
0000255E 2F0C move.l -[A7], A4
00002560 4EBA 0942 jsr [PC + 0x942 /* 00002EA4 */]
00002564 486E FECE pea.l [A6 - 0x132]
00002568 2F2E 0008 move.l -[A7], [A6 + 0x8]
0000256C 4EBA 1F96 jsr [PC + 0x1F96 /* 00004504 */]
00002570 2D40 FFE0 move.l [A6 - 0x20], D0
00002574 426E FFE4 clr.w [A6 - 0x1C]
00002578 422E FFE8 clr.b [A6 - 0x18]
0000257C 1D6E 000D FFE9 move.b [A6 - 0x17], [A6 + 0xD]
00002582 42AE FFEA clr.l [A6 - 0x16]
00002586 0807 0000 btst.b D7, 0x0
0000258A 4FEF 000C lea.l A7, [A7 + 0xC]
0000258E 6732 beq +0x34 /* 000025C2 */
00002590 41EE FFCE lea.l A0, [A6 - 0x32]
00002594 A008 syscall Create/PBHCreate/HCreate
00002596 4A6E FFDE tst.w [A6 - 0x22]
0000259A 6606 bne +0x8 /* 000025A2 */
0000259C 0247 FFFD andi.w D7, 0xFFFD
000025A0 6020 bra +0x22 /* 000025C2 */
label000025A2:
000025A2 0C6E FFD0 FFDE cmpi.w [A6 - 0x22], 0xFFD0
000025A8 660C bne +0xE /* 000025B6 */
000025AA 0807 0002 btst.b D7, 0x2
000025AE 6606 bne +0x8 /* 000025B6 */
000025B0 0247 FFFE andi.w D7, 0xFFFE
000025B4 600C bra +0xE /* 000025C2 */
label000025B6:
000025B6 3B6E FFDE FCEA move.w [A5 - 0x316], [A6 - 0x22]
000025BC 7000 moveq.l D0, 0x00
000025BE 6000 009A bra +0x9C /* 0000265A */
label000025C2:
000025C2 41EE FFCE lea.l A0, [A6 - 0x32]
000025C6 A000 syscall Open/PBHOpen/HOpen
000025C8 4A6E FFDE tst.w [A6 - 0x22]
000025CC 6716 beq +0x18 /* 000025E4 */
000025CE 3B6E FFDE FCEA move.w [A5 - 0x316], [A6 - 0x22]
000025D4 0807 0000 btst.b D7, 0x0
000025D8 6706 beq +0x8 /* 000025E0 */
000025DA 41EE FFCE lea.l A0, [A6 - 0x32]
000025DE A009 syscall Delete/PBHDelete/HDelete
label000025E0:
000025E0 7000 moveq.l D0, 0x00
000025E2 6076 bra +0x78 /* 0000265A */
label000025E4:
000025E4 396E FFE6 0004 move.w [A4 + 0x4], [A6 - 0x1A]
000025EA 0807 0001 btst.b D7, 0x1
000025EE 6708 beq +0xA /* 000025F8 */
000025F0 41EE FFCE lea.l A0, [A6 - 0x32]
000025F4 A012 syscall SetEOF
000025F6 600C bra +0xE /* 00002604 */
label000025F8:
000025F8 0807 0000 btst.b D7, 0x0
000025FC 6606 bne +0x8 /* 00002604 */
000025FE 41EE FFCE lea.l A0, [A6 - 0x32]
00002602 A011 syscall GetEOF
label00002604:
00002604 296E FFEA 001A move.l [A4 + 0x1A], [A6 - 0x16]
0000260A 0807 0003 btst.b D7, 0x3
0000260E 670A beq +0xC /* 0000261A */
00002610 08D4 0001 bset.b [A4], 0x1
00002614 296C 001A 0016 move.l [A4 + 0x16], [A4 + 0x1A]
label0000261A:
0000261A 0807 0004 btst.b D7, 0x4
0000261E 6704 beq +0x6 /* 00002624 */
00002620 08D4 0006 bset.b [A4], 0x6
label00002624:
00002624 4878 0200 push.l 0x200
00002628 4267 clr.w -[A7]
0000262A 42A7 clr.l -[A7]
0000262C 2F0C move.l -[A7], A4
0000262E 4EBA 079A jsr [PC + 0x79A /* 00002DCA */]
00002632 41ED 0152 lea.l A0, [A5 + 0x152 /* export_38 */]
00002636 2948 0022 move.l [A4 + 0x22], A0
0000263A 7003 moveq.l D0, 0x03
0000263C C047 and.w D0, D7
0000263E 4FEF 000E lea.l A7, [A7 + 0xE]
00002642 670C beq +0xE /* 00002650 */
00002644 3F07 move.w -[A7], D7
00002646 2F2E FFE0 move.l -[A7], [A6 - 0x20]
0000264A 4EBA 0018 jsr [PC + 0x18 /* 00002664 */]
0000264E 5C8F addq.l A7, 6
label00002650:
00002650 486D 015A pea.l [A5 + 0x15A /* export_39 */]
00002654 4EBA DD1E jsr [PC - 0x22E2 /* 00000374 */]
00002658 200C move.l D0, A4
label0000265A:
0000265A 4CEE 1080 FEC6 movem.l D7,A4, [A6 - 0x13A]
00002660 4E5E unlink A6
00002662 4E75 rts
fn00002664:
00002664 4E56 FFB0 link A6, -0x0050
00002668 2D6E 0008 FFC2 move.l [A6 - 0x3E], [A6 + 0x8]
0000266E 426E FFC6 clr.w [A6 - 0x3A]
00002672 422E FFCA clr.b [A6 - 0x36]
00002676 426E FFCC clr.w [A6 - 0x34]
0000267A 41EE FFB0 lea.l A0, [A6 - 0x50]
0000267E A00C syscall GetFileInfo/PBHGetFInfo/HGetFileInfo
00002680 4A40 tst.w D0
00002682 6624 bne +0x26 /* 000026A8 */
00002684 082E 0004 000D btst.b [A6 + 0xD], 0x4
0000268A 6708 beq +0xA /* 00002694 */
0000268C 2D6D FD1E FFD0 move.l [A6 - 0x30], [A5 - 0x2E2]
00002692 6008 bra +0xA /* 0000269C */
label00002694:
00002694 2D7C 5445 5854 FFD0 move.l [A6 - 0x30], 0x54455854 /* 'TEXT' */
label0000269C:
0000269C 2D6D FD22 FFD4 move.l [A6 - 0x2C], [A5 - 0x2DE]
000026A2 41EE FFB0 lea.l A0, [A6 - 0x50]
000026A6 A00D syscall SetFileInfo/PBHSetFInfo/HSetFileInfo
label000026A8:
000026A8 4E5E unlink A6
000026AA 4E75 rts
export_39:
000026AC 48E7 0108 movem.l -[A7], D7,A4
000026B0 49ED FD26 lea.l A4, [A5 - 0x2DA]
000026B4 7E0F moveq.l D7, 0x0F
000026B6 600C bra +0xE /* 000026C4 */
label000026B8:
000026B8 2F0C move.l -[A7], A4
000026BA 4EBA 07E8 jsr [PC + 0x7E8 /* 00002EA4 */]
000026BE 588F addq.l A7, 4
000026C0 49EC 0026 lea.l A4, [A4 + 0x26]
label000026C4:
000026C4 3007 move.w D0, D7
000026C6 5347 subq.w D7, 1
000026C8 4A40 tst.w D0
000026CA 66EC bne -0x12 /* 000026B8 */
000026CC 4CDF 1080 movem.l D7,A4, [A7]+
000026D0 4E75 rts
export_38:
000026D2 4E56 FFCE link A6, -0x0032
000026D6 2F0C move.l -[A7], A4
000026D8 286E 0008 movea.l A4, [A6 + 0x8]
000026DC 3D6C 0004 FFE6 move.w [A6 - 0x1A], [A4 + 0x4]
000026E2 302E 000C move.w D0, [A6 + 0xC]
000026E6 6712 beq +0x14 /* 000026FA */
000026E8 6B00 0112 bmi +0x114 /* 000027FC */
000026EC 5540 subq.w D0, 2
000026EE 6700 0100 beq +0x102 /* 000027F0 */
000026F2 6A00 0108 bpl +0x10A /* 000027FC */
000026F6 6000 0080 bra +0x82 /* 00002778 */
label000026FA:
000026FA 2D6C 000E FFEE move.l [A6 - 0x12], [A4 + 0xE]
00002700 2D6C 0012 FFF2 move.l [A6 - 0xE], [A4 + 0x12]
00002706 4A6C 0004 tst.w [A4 + 0x4]
0000270A 6F04 ble +0x6 /* 00002710 */
0000270C 7001 moveq.l D0, 0x01
0000270E 6002 bra +0x4 /* 00002712 */
label00002710:
00002710 7000 moveq.l D0, 0x00
label00002712:
00002712 3D40 FFFA move.w [A6 - 0x6], D0
00002716 202C 0016 move.l D0, [A4 + 0x16]
0000271A 90AC 0012 sub.l D0, [A4 + 0x12]
0000271E 2D40 FFFC move.l [A6 - 0x4], D0
00002722 41EE FFCE lea.l A0, [A6 - 0x32]
00002726 A002 syscall Read
00002728 0C6E FFD9 FFDE cmpi.w [A6 - 0x22], 0xFFD9
0000272E 661E bne +0x20 /* 0000274E */
00002730 296E FFFC 0016 move.l [A4 + 0x16], [A6 - 0x4]
00002736 296E FFF6 0012 move.l [A4 + 0x12], [A6 - 0xA]
0000273C 6706 beq +0x8 /* 00002744 */
0000273E 426E FFDE clr.w [A6 - 0x22]
00002742 600A bra +0xC /* 0000274E */
label00002744:
00002744 08D4 0005 bset.b [A4], 0x5
00002748 70FF moveq.l D0, 0xFFFFFFFF
0000274A 6000 00DA bra +0xDC /* 00002826 */
label0000274E:
0000274E 4A6E FFDE tst.w [A6 - 0x22]
00002752 6600 00A8 bne +0xAA /* 000027FC */
00002756 0814 0006 btst.b [A4], 0x6
0000275A 6600 00A0 bne +0xA2 /* 000027FC */
0000275E 2F3C 000D 000A move.l -[A7], 0xD000A /* '\r\0\n' */
00002764 2F2C 0012 move.l -[A7], [A4 + 0x12]
00002768 2F2C 000E move.l -[A7], [A4 + 0xE]
0000276C 4EBA 0192 jsr [PC + 0x192 /* 00002900 */]
00002770 4FEF 000C lea.l A7, [A7 + 0xC]
00002774 6000 0086 bra +0x88 /* 000027FC */
label00002778:
00002778 2D6C 000E FFEE move.l [A6 - 0x12], [A4 + 0xE]
0000277E 2D6C 0012 FFF2 move.l [A6 - 0xE], [A4 + 0x12]
00002784 4A6C 0004 tst.w [A4 + 0x4]
00002788 6F04 ble +0x6 /* 0000278E */
0000278A 7001 moveq.l D0, 0x01
0000278C 6002 bra +0x4 /* 00002790 */
label0000278E:
0000278E 7000 moveq.l D0, 0x00
label00002790:
00002790 3D40 FFFA move.w [A6 - 0x6], D0
00002794 202C 0016 move.l D0, [A4 + 0x16]
00002798 90AC 0012 sub.l D0, [A4 + 0x12]
0000279C 2D40 FFFC move.l [A6 - 0x4], D0
000027A0 B0AC 001A cmp.l D0, [A4 + 0x1A]
000027A4 6310 bls +0x12 /* 000027B6 */
000027A6 2D6E FFFC FFEA move.l [A6 - 0x16], [A6 - 0x4]
000027AC 41EE FFCE lea.l A0, [A6 - 0x32]
000027B0 A012 syscall SetEOF
000027B2 4A40 tst.w D0
000027B4 6646 bne +0x48 /* 000027FC */
label000027B6:
000027B6 0814 0006 btst.b [A4], 0x6
000027BA 6616 bne +0x18 /* 000027D2 */
000027BC 2F3C 000A 000D move.l -[A7], 0xA000D /* '\n\0\r' */
000027C2 2F2C 0012 move.l -[A7], [A4 + 0x12]
000027C6 2F2C 000E move.l -[A7], [A4 + 0xE]
000027CA 4EBA 0134 jsr [PC + 0x134 /* 00002900 */]
000027CE 4FEF 000C lea.l A7, [A7 + 0xC]
label000027D2:
000027D2 41EE FFCE lea.l A0, [A6 - 0x32]
000027D6 A003 syscall Write
000027D8 4A6E FFDE tst.w [A6 - 0x22]
000027DC 661E bne +0x20 /* 000027FC */
000027DE 202E FFFC move.l D0, [A6 - 0x4]
000027E2 B0AC 001A cmp.l D0, [A4 + 0x1A]
000027E6 6314 bls +0x16 /* 000027FC */
000027E8 296E FFFC 001A move.l [A4 + 0x1A], [A6 - 0x4]
000027EE 600C bra +0xE /* 000027FC */
label000027F0:
000027F0 2F0C move.l -[A7], A4
000027F2 4EBA 0038 jsr [PC + 0x38 /* 0000282C */]
000027F6 3D40 FFDE move.w [A6 - 0x22], D0
000027FA 588F addq.l A7, 4
label000027FC:
000027FC 4A6E FFDE tst.w [A6 - 0x22]
00002800 6722 beq +0x24 /* 00002824 */
00002802 0C6E 0002 000C cmpi.w [A6 + 0xC], 0x2
00002808 6C0C bge +0xE /* 00002816 */
0000280A 202C 0012 move.l D0, [A4 + 0x12]
0000280E 91AC 0016 sub.l [A4 + 0x16], D0
00002812 42AC 0012 clr.l [A4 + 0x12]
label00002816:
00002816 08D4 0004 bset.b [A4], 0x4
0000281A 3B6E FFDE FCEA move.w [A5 - 0x316], [A6 - 0x22]
00002820 70FF moveq.l D0, 0xFFFFFFFF
00002822 6002 bra +0x4 /* 00002826 */
label00002824:
00002824 7000 moveq.l D0, 0x00
label00002826:
00002826 285F movea.l A4, [A7]+
00002828 4E5E unlink A6
0000282A 4E75 rts
fn0000282C:
0000282C 4E56 FEB0 link A6, -0x0150
00002830 48E7 0338 movem.l -[A7], D6,D7,A2,A3,A4
00002834 2E2E 0008 move.l D7, [A6 + 0x8]
00002838 2047 movea.l A0, D7
0000283A 3668 0004 movea.w A3, [A0 + 0x4]
0000283E D7F8 034E add.l A3, [0x0000034E /* FCBSPtr */]
00002842 246B 0014 movea.l A2, [A3 + 0x14]
00002846 7C00 moveq.l D6, 0x00
00002848 3D6A 004E FFC6 move.w [A6 - 0x3A], [A2 + 0x4E]
0000284E 2047 movea.l A0, D7
00002850 0810 0000 btst.b [A0], 0x0
00002854 6768 beq +0x6A /* 000028BE */
00002856 41EE FEB0 lea.l A0, [A6 - 0x150]
0000285A 2D48 FFC2 move.l [A6 - 0x3E], A0
0000285E 422E FFCA clr.b [A6 - 0x36]
00002862 0C6A 4244 0008 cmpi.w [A2 + 0x8], 0x4244 /* 'BD' */
00002868 6626 bne +0x28 /* 00002890 */
0000286A 2D6B 003A FFE0 move.l [A6 - 0x20], [A3 + 0x3A]
00002870 49EB 003E lea.l A4, [A3 + 0x3E]
00002874 7000 moveq.l D0, 0x00
00002876 1014 move.b D0, [A4]
00002878 3040 movea.w A0, D0
0000287A 4868 0001 pea.l [A0 + 0x1]
0000287E 2F0C move.l -[A7], A4
00002880 486E FEB0 pea.l [A6 - 0x150]
00002884 4EBA 067C jsr [PC + 0x67C /* 00002F02 */]
00002888 7C02 moveq.l D6, 0x02
0000288A 4FEF 000C lea.l A7, [A7 + 0xC]
0000288E 602E bra +0x30 /* 000028BE */
label00002890:
00002890 0C6A D2D7 0008 cmpi.w [A2 + 0x8], 0xD2D7
00002896 6626 bne +0x28 /* 000028BE */
00002898 3D7C 0001 FFCC move.w [A6 - 0x34], 0x1
label0000289E:
0000289E 41EE FFB0 lea.l A0, [A6 - 0x50]
000028A2 A00C syscall GetFileInfo/PBHGetFInfo/HGetFileInfo
000028A4 4A40 tst.w D0
000028A6 6616 bne +0x18 /* 000028BE */
000028A8 2047 movea.l A0, D7
000028AA 302E FFC8 move.w D0, [A6 - 0x38]
000028AE B068 0004 cmp.w D0, [A0 + 0x4]
000028B2 6604 bne +0x6 /* 000028B8 */
000028B4 7C01 moveq.l D6, 0x01
000028B6 6006 bra +0x8 /* 000028BE */
label000028B8:
000028B8 526E FFCC addq.w [A6 - 0x34], 1
000028BC 60E0 bra -0x1E /* 0000289E */
label000028BE:
000028BE 2047 movea.l A0, D7
000028C0 3D68 0004 FFC8 move.w [A6 - 0x38], [A0 + 0x4]
000028C6 41EE FFB0 lea.l A0, [A6 - 0x50]
000028CA A001 syscall Close
000028CC 4A40 tst.w D0
000028CE 6624 bne +0x26 /* 000028F4 */
000028D0 0C06 0001 cmpi.b D6, 0x1
000028D4 6608 bne +0xA /* 000028DE */
000028D6 41EE FFB0 lea.l A0, [A6 - 0x50]
000028DA A009 syscall Delete/PBHDelete/HDelete
000028DC 600C bra +0xE /* 000028EA */
label000028DE:
000028DE 0C06 0002 cmpi.b D6, 0x2
000028E2 6606 bne +0x8 /* 000028EA */
000028E4 41EE FFB0 lea.l A0, [A6 - 0x50]
000028E8 A209 syscall Delete/PBHDelete/HDelete, flags=2
label000028EA:
000028EA 42AE FFC2 clr.l [A6 - 0x3E]
000028EE 41EE FFB0 lea.l A0, [A6 - 0x50]
000028F2 A013 syscall FlushVol
label000028F4:
000028F4 302E FFC0 move.w D0, [A6 - 0x40]
000028F8 4CDF 1CC0 movem.l D6,D7,A2,A3,A4, [A7]+
000028FC 4E5E unlink A6
000028FE 4E75 rts
fn00002900:
00002900 4E56 0000 link A6, 0
00002904 48E7 0718 movem.l -[A7], D5,D6,D7,A3,A4
00002908 2E2E 000C move.l D7, [A6 + 0xC]
0000290C 3C2E 0010 move.w D6, [A6 + 0x10]
00002910 3A2E 0012 move.w D5, [A6 + 0x12]
00002914 286E 0008 movea.l A4, [A6 + 0x8]
00002918 600A bra +0xC /* 00002924 */
label0000291A:
0000291A 16C5 move.b [A3]+, D5
0000291C 200B move.l D0, A3
0000291E 908C sub.l D0, A4
00002920 9E80 sub.l D7, D0
00002922 284B movea.l A4, A3
label00002924:
00002924 4A87 tst.l D7
00002926 6714 beq +0x16 /* 0000293C */
00002928 2F07 move.l -[A7], D7
0000292A 3F06 move.w -[A7], D6
0000292C 2F0C move.l -[A7], A4
0000292E 4EBA 0632 jsr [PC + 0x632 /* 00002F62 */]
00002932 2640 movea.l A3, D0
00002934 200B move.l D0, A3
00002936 4FEF 000A lea.l A7, [A7 + 0xA]
0000293A 66DE bne -0x20 /* 0000291A */
label0000293C:
0000293C 4CDF 18E0 movem.l D5,D6,D7,A3,A4, [A7]+
00002940 4E5E unlink A6
00002942 4E75 rts
fn00002944:
00002944 4E56 0000 link A6, 0
00002948 48E7 0708 movem.l -[A7], D5,D6,D7,A4
0000294C 2E2E 000C move.l D7, [A6 + 0xC]
00002950 286E 0008 movea.l A4, [A6 + 0x8]
00002954 3C2E 0010 move.w D6, [A6 + 0x10]
00002958 2A2C 0016 move.l D5, [A4 + 0x16]
0000295C 9AAC 0012 sub.l D5, [A4 + 0x12]
00002960 4A6C 0004 tst.w [A4 + 0x4]
00002964 6E0A bgt +0xC /* 00002970 */
00002966 3B7C 0013 FCEA move.w [A5 - 0x316], 0x13
0000296C 70FF moveq.l D0, 0xFFFFFFFF
0000296E 603C bra +0x3E /* 000029AC */
label00002970:
00002970 2F0C move.l -[A7], A4
00002972 4EBA 04DC jsr [PC + 0x4DC /* 00002E50 */]
00002976 0C46 0001 cmpi.w D6, 0x1
0000297A 588F addq.l A7, 4
0000297C 6604 bne +0x6 /* 00002982 */
0000297E DE85 add.l D7, D5
00002980 6012 bra +0x14 /* 00002994 */
label00002982:
00002982 0C46 0002 cmpi.w D6, 0x2
00002986 6606 bne +0x8 /* 0000298E */
00002988 DEAC 001A add.l D7, [A4 + 0x1A]
0000298C 6006 bra +0x8 /* 00002994 */
label0000298E:
0000298E 4A46 tst.w D6
00002990 6702 beq +0x4 /* 00002994 */
00002992 7EFF moveq.l D7, 0xFFFFFFFF
label00002994:
00002994 4A87 tst.l D7
00002996 6C0A bge +0xC /* 000029A2 */
00002998 3B7C 0016 FCEA move.w [A5 - 0x316], 0x16
0000299E 70FF moveq.l D0, 0xFFFFFFFF
000029A0 600A bra +0xC /* 000029AC */
label000029A2:
000029A2 2947 0016 move.l [A4 + 0x16], D7
000029A6 0894 0005 bclr.b [A4], 0x5
000029AA 7000 moveq.l D0, 0x00
label000029AC:
000029AC 4CDF 10E0 movem.l D5,D6,D7,A4, [A7]+
000029B0 4E5E unlink A6
000029B2 4E75 rts
000029B4 4E56 0000 link A6, 0
000029B8 4267 clr.w -[A7]
000029BA 206E 000C movea.l A0, [A6 + 0xC]
000029BE 2F10 move.l -[A7], [A0]
000029C0 2F2E 0008 move.l -[A7], [A6 + 0x8]
000029C4 4EBA FF7E jsr [PC - 0x82 /* 00002944 */]
000029C8 4E5E unlink A6
000029CA 4E75 rts
fn000029CC:
000029CC 4E56 0000 link A6, 0
000029D0 4267 clr.w -[A7]
000029D2 42A7 clr.l -[A7]
000029D4 2F2E 0008 move.l -[A7], [A6 + 0x8]
000029D8 4EBA FF6A jsr [PC - 0x96 /* 00002944 */]
000029DC 206E 0008 movea.l A0, [A6 + 0x8]
000029E0 0890 0004 bclr.b [A0], 0x4
000029E4 4E5E unlink A6
000029E6 4E75 rts
000029E8 4E56 0000 link A6, 0
000029EC 206E 0008 movea.l A0, [A6 + 0x8]
000029F0 4A68 0004 tst.w [A0 + 0x4]
000029F4 6E0A bgt +0xC /* 00002A00 */
000029F6 3B7C 0013 FCEA move.w [A5 - 0x316], 0x13
000029FC 70FF moveq.l D0, 0xFFFFFFFF
000029FE 600C bra +0xE /* 00002A0C */
label00002A00:
00002A00 206E 0008 movea.l A0, [A6 + 0x8]
00002A04 2028 0016 move.l D0, [A0 + 0x16]
00002A08 90A8 0012 sub.l D0, [A0 + 0x12]
label00002A0C:
00002A0C 4E5E unlink A6
00002A0E 4E75 rts
00002A10 4E56 0000 link A6, 0
00002A14 206E 0008 movea.l A0, [A6 + 0x8]
00002A18 4A68 0004 tst.w [A0 + 0x4]
00002A1C 6E0A bgt +0xC /* 00002A28 */
00002A1E 3B7C 0013 FCEA move.w [A5 - 0x316], 0x13
00002A24 70FF moveq.l D0, 0xFFFFFFFF
00002A26 6014 bra +0x16 /* 00002A3C */
label00002A28:
00002A28 206E 0008 movea.l A0, [A6 + 0x8]
00002A2C 2028 0016 move.l D0, [A0 + 0x16]
00002A30 90A8 0012 sub.l D0, [A0 + 0x12]
00002A34 226E 000C movea.l A1, [A6 + 0xC]
00002A38 2280 move.l [A1], D0
00002A3A 7000 moveq.l D0, 0x00
label00002A3C:
00002A3C 4E5E unlink A6
00002A3E 4E75 rts
fn00002A40:
00002A40 4E56 0000 link A6, 0
00002A44 48E7 1F08 movem.l -[A7], D3,D4,D5,D6,D7,A4
00002A48 286E 0014 movea.l A4, [A6 + 0x14]
00002A4C 2E2E 000C move.l D7, [A6 + 0xC]
00002A50 2C2E 0010 move.l D6, [A6 + 0x10]
00002A54 2F06 move.l -[A7], D6
00002A56 2F07 move.l -[A7], D7
00002A58 4EAD 0042 jsr [A5 + 0x42 /* export_4 */]
00002A5C 2A00 move.l D5, D0
00002A5E 4A85 tst.l D5
00002A60 6606 bne +0x8 /* 00002A68 */
00002A62 7000 moveq.l D0, 0x00
00002A64 6000 0124 bra +0x126 /* 00002B8A */
label00002A68:
00002A68 2F0C move.l -[A7], A4
00002A6A 4EBA 1A5E jsr [PC + 0x1A5E /* 000044CA */]
00002A6E 0814 0001 btst.b [A4], 0x1
00002A72 588F addq.l A7, 4
00002A74 670C beq +0xE /* 00002A82 */
00002A76 0814 0003 btst.b [A4], 0x3
00002A7A 6606 bne +0x8 /* 00002A82 */
00002A7C 296C 001A 0016 move.l [A4 + 0x16], [A4 + 0x1A]
label00002A82:
00002A82 4A6C 0004 tst.w [A4 + 0x4]
00002A86 6F66 ble +0x68 /* 00002AEE */
00002A88 0814 0006 btst.b [A4], 0x6
00002A8C 6760 beq +0x62 /* 00002AEE */
00002A8E 4AAC 0012 tst.l [A4 + 0x12]
00002A92 665A bne +0x5C /* 00002AEE */
00002A94 BAAC 000A cmp.l D5, [A4 + 0xA]
00002A98 6554 bcs +0x56 /* 00002AEE */
00002A9A 7001 moveq.l D0, 0x01
00002A9C B0AC 000A cmp.l D0, [A4 + 0xA]
00002AA0 6710 beq +0x12 /* 00002AB2 */
00002AA2 2F2C 000A move.l -[A7], [A4 + 0xA]
00002AA6 2F2C 0016 move.l -[A7], [A4 + 0x16]
00002AAA 4EAD 0052 jsr [A5 + 0x52 /* export_6 */]
00002AAE 4A80 tst.l D0
00002AB0 663C bne +0x3E /* 00002AEE */
label00002AB2:
00002AB2 2805 move.l D4, D5
00002AB4 7001 moveq.l D0, 0x01
00002AB6 B0AC 000A cmp.l D0, [A4 + 0xA]
00002ABA 640C bcc +0xE /* 00002AC8 */
00002ABC 2F2C 000A move.l -[A7], [A4 + 0xA]
00002AC0 2F04 move.l -[A7], D4
00002AC2 4EAD 0052 jsr [A5 + 0x52 /* export_6 */]
00002AC6 9880 sub.l D4, D0
label00002AC8:
00002AC8 296E 0008 000E move.l [A4 + 0xE], [A6 + 0x8]
00002ACE 2944 0012 move.l [A4 + 0x12], D4
00002AD2 D9AC 0016 add.l [A4 + 0x16], D4
00002AD6 2F0C move.l -[A7], A4
00002AD8 4EBA 1B80 jsr [PC + 0x1B80 /* 0000465A */]
00002ADC 3600 move.w D3, D0
00002ADE 2E8C move.l [A7], A4
00002AE0 4EBA DBE0 jsr [PC - 0x2420 /* 000006C2 */]
00002AE4 4A43 tst.w D3
00002AE6 588F addq.l A7, 4
00002AE8 6600 008A bne +0x8C /* 00002B74 */
00002AEC 607C bra +0x7E /* 00002B6A */
label00002AEE:
00002AEE 0814 0003 btst.b [A4], 0x3
00002AF2 6706 beq +0x8 /* 00002AFA */
00002AF4 4AAC 001E tst.l [A4 + 0x1E]
00002AF8 673E beq +0x40 /* 00002B38 */
label00002AFA:
00002AFA 202C 0012 move.l D0, [A4 + 0x12]
00002AFE 53AC 0012 subq.l [A4 + 0x12], 1
00002B02 5380 subq.l D0, 1
00002B04 6316 bls +0x18 /* 00002B1C */
00002B06 206E 0008 movea.l A0, [A6 + 0x8]
00002B0A 226C 000E movea.l A1, [A4 + 0xE]
00002B0E 52AC 000E addq.l [A4 + 0xE], 1
00002B12 1010 move.b D0, [A0]
00002B14 1280 move.b [A1], D0
00002B16 7200 moveq.l D1, 0x00
00002B18 1200 move.b D1, D0
00002B1A 6014 bra +0x16 /* 00002B30 */
label00002B1C:
00002B1C 2F0C move.l -[A7], A4
00002B1E 206E 0008 movea.l A0, [A6 + 0x8]
00002B22 1010 move.b D0, [A0]
00002B24 4880 ext.w D0
00002B26 3F00 move.w -[A7], D0
00002B28 4EBA DA64 jsr [PC - 0x259C /* 0000058E */]
00002B2C 3200 move.w D1, D0
00002B2E 5C8F addq.l A7, 6
label00002B30:
00002B30 5241 addq.w D1, 1
00002B32 6740 beq +0x42 /* 00002B74 */
00002B34 7801 moveq.l D4, 0x01
00002B36 6032 bra +0x34 /* 00002B6A */
label00002B38:
00002B38 282C 0012 move.l D4, [A4 + 0x12]
00002B3C BA84 cmp.l D5, D4
00002B3E 6402 bcc +0x4 /* 00002B42 */
00002B40 2805 move.l D4, D5
label00002B42:
00002B42 2F04 move.l -[A7], D4
00002B44 2F2E 0008 move.l -[A7], [A6 + 0x8]
00002B48 2F2C 000E move.l -[A7], [A4 + 0xE]
00002B4C 4EBA 03B4 jsr [PC + 0x3B4 /* 00002F02 */]
00002B50 D9AC 000E add.l [A4 + 0xE], D4
00002B54 99AC 0012 sub.l [A4 + 0x12], D4
00002B58 4FEF 000C lea.l A7, [A7 + 0xC]
00002B5C 660C bne +0xE /* 00002B6A */
00002B5E 2F0C move.l -[A7], A4
00002B60 4EBA DB12 jsr [PC - 0x24EE /* 00000674 */]
00002B64 4A40 tst.w D0
00002B66 588F addq.l A7, 4
00002B68 660A bne +0xC /* 00002B74 */
label00002B6A:
00002B6A D9AE 0008 add.l [A6 + 0x8], D4
00002B6E 9A84 sub.l D5, D4
00002B70 6600 FF10 bne -0xEE /* 00002A82 */
label00002B74:
00002B74 4A85 tst.l D5
00002B76 6710 beq +0x12 /* 00002B88 */
00002B78 2F07 move.l -[A7], D7
00002B7A 2005 move.l D0, D5
00002B7C D087 add.l D0, D7
00002B7E 5380 subq.l D0, 1
00002B80 2F00 move.l -[A7], D0
00002B82 4EAD 004A jsr [A5 + 0x4A /* export_5 */]
00002B86 9C80 sub.l D6, D0
label00002B88:
00002B88 2006 move.l D0, D6
label00002B8A:
00002B8A 4CDF 10F8 movem.l D3,D4,D5,D6,D7,A4, [A7]+
00002B8E 4E5E unlink A6
00002B90 4E75 rts
fn00002B92:
00002B92 4E56 0000 link A6, 0
00002B96 48E7 0138 movem.l -[A7], D7,A2,A3,A4
00002B9A 266E 000E movea.l A3, [A6 + 0xE]
00002B9E 286E 0008 movea.l A4, [A6 + 0x8]
00002BA2 244C movea.l A2, A4
00002BA4 0C6E 0001 000C cmpi.w [A6 + 0xC], 0x1
00002BAA 6C42 bge +0x44 /* 00002BEE */
00002BAC 7000 moveq.l D0, 0x00
00002BAE 6048 bra +0x4A /* 00002BF8 */
label00002BB0:
00002BB0 202B 0012 move.l D0, [A3 + 0x12]
00002BB4 53AB 0012 subq.l [A3 + 0x12], 1
00002BB8 4A80 tst.l D0
00002BBA 670E beq +0x10 /* 00002BCA */
00002BBC 206B 000E movea.l A0, [A3 + 0xE]
00002BC0 52AB 000E addq.l [A3 + 0xE], 1
00002BC4 7000 moveq.l D0, 0x00
00002BC6 1010 move.b D0, [A0]
00002BC8 6008 bra +0xA /* 00002BD2 */
label00002BCA:
00002BCA 2F0B move.l -[A7], A3
00002BCC 4EBA D95E jsr [PC - 0x26A2 /* 0000052C */]
00002BD0 588F addq.l A7, 4
label00002BD2:
00002BD2 3E00 move.w D7, D0
00002BD4 4A40 tst.w D0
00002BD6 6C0E bge +0x10 /* 00002BE6 */
00002BD8 0813 0005 btst.b [A3], 0x5
00002BDC 6704 beq +0x6 /* 00002BE2 */
00002BDE B9CA cmpa.l A4, A2
00002BE0 6612 bne +0x14 /* 00002BF4 */
label00002BE2:
00002BE2 7000 moveq.l D0, 0x00
00002BE4 6012 bra +0x14 /* 00002BF8 */
label00002BE6:
00002BE6 14C7 move.b [A2]+, D7
00002BE8 0C47 000A cmpi.w D7, 0xA /* '\n' */
00002BEC 6706 beq +0x8 /* 00002BF4 */
label00002BEE:
00002BEE 536E 000C subq.w [A6 + 0xC], 1
00002BF2 66BC bne -0x42 /* 00002BB0 */
label00002BF4:
00002BF4 4212 clr.b [A2]
00002BF6 200C move.l D0, A4
label00002BF8:
00002BF8 4CDF 1C80 movem.l D7,A2,A3,A4, [A7]+
00002BFC 4E5E unlink A6
00002BFE 4E75 rts
00002C00 4E56 0000 link A6, 0
00002C04 48E7 0138 movem.l -[A7], D7,A2,A3,A4
00002C08 286E 0008 movea.l A4, [A6 + 0x8]
00002C0C 47ED FD26 lea.l A3, [A5 - 0x2DA]
00002C10 244C movea.l A2, A4
label00002C12:
00002C12 202B 0012 move.l D0, [A3 + 0x12]
00002C16 53AB 0012 subq.l [A3 + 0x12], 1
00002C1A 4A80 tst.l D0
00002C1C 670E beq +0x10 /* 00002C2C */
00002C1E 206B 000E movea.l A0, [A3 + 0xE]
00002C22 52AB 000E addq.l [A3 + 0xE], 1
00002C26 7000 moveq.l D0, 0x00
00002C28 1010 move.b D0, [A0]
00002C2A 6008 bra +0xA /* 00002C34 */
label00002C2C:
00002C2C 2F0B move.l -[A7], A3
00002C2E 4EBA D8FC jsr [PC - 0x2704 /* 0000052C */]
00002C32 588F addq.l A7, 4
label00002C34:
00002C34 3E00 move.w D7, D0
00002C36 4A40 tst.w D0
00002C38 6C0E bge +0x10 /* 00002C48 */
00002C3A 0813 0005 btst.b [A3], 0x5
00002C3E 6704 beq +0x6 /* 00002C44 */
00002C40 B9CA cmpa.l A4, A2
00002C42 660E bne +0x10 /* 00002C52 */
label00002C44:
00002C44 7000 moveq.l D0, 0x00
00002C46 600E bra +0x10 /* 00002C56 */
label00002C48:
00002C48 0C47 000A cmpi.w D7, 0xA /* '\n' */
00002C4C 6704 beq +0x6 /* 00002C52 */
00002C4E 14C7 move.b [A2]+, D7
00002C50 60C0 bra -0x3E /* 00002C12 */
label00002C52:
00002C52 4212 clr.b [A2]
00002C54 200C move.l D0, A4
label00002C56:
00002C56 4CDF 1C80 movem.l D7,A2,A3,A4, [A7]+
00002C5A 4E5E unlink A6
00002C5C 4E75 rts
fn00002C5E:
00002C5E 4E56 0000 link A6, 0
00002C62 206E 0008 movea.l A0, [A6 + 0x8]
00002C66 2028 0012 move.l D0, [A0 + 0x12]
00002C6A 53A8 0012 subq.l [A0 + 0x12], 1
00002C6E 4A80 tst.l D0
00002C70 6712 beq +0x14 /* 00002C84 */
00002C72 206E 0008 movea.l A0, [A6 + 0x8]
00002C76 2268 000E movea.l A1, [A0 + 0xE]
00002C7A 52A8 000E addq.l [A0 + 0xE], 1
00002C7E 7000 moveq.l D0, 0x00
00002C80 1011 move.b D0, [A1]
00002C82 600A bra +0xC /* 00002C8E */
label00002C84:
00002C84 2F2E 0008 move.l -[A7], [A6 + 0x8]
00002C88 4EBA D8A2 jsr [PC - 0x275E /* 0000052C */]
00002C8C 588F addq.l A7, 4
label00002C8E:
00002C8E 4E5E unlink A6
00002C90 4E75 rts
00002C92 4E56 0000 link A6, 0
00002C96 206E 0008 movea.l A0, [A6 + 0x8]
00002C9A 2028 0012 move.l D0, [A0 + 0x12]
00002C9E 53A8 0012 subq.l [A0 + 0x12], 1
00002CA2 4A80 tst.l D0
00002CA4 6712 beq +0x14 /* 00002CB8 */
00002CA6 206E 0008 movea.l A0, [A6 + 0x8]
00002CAA 2268 000E movea.l A1, [A0 + 0xE]
00002CAE 52A8 000E addq.l [A0 + 0xE], 1
00002CB2 7000 moveq.l D0, 0x00
00002CB4 1011 move.b D0, [A1]
00002CB6 600A bra +0xC /* 00002CC2 */
label00002CB8:
00002CB8 2F2E 0008 move.l -[A7], [A6 + 0x8]
00002CBC 4EBA D86E jsr [PC - 0x2792 /* 0000052C */]
00002CC0 588F addq.l A7, 4
label00002CC2:
00002CC2 4E5E unlink A6
00002CC4 4E75 rts
00002CC6 202D FD38 move.l D0, [A5 - 0x2C8]
00002CCA 53AD FD38 subq.l [A5 - 0x2C8], 1
00002CCE 4A80 tst.l D0
00002CD0 670E beq +0x10 /* 00002CE0 */
00002CD2 206D FD34 movea.l A0, [A5 - 0x2CC]
00002CD6 52AD FD34 addq.l [A5 - 0x2CC], 1
00002CDA 7000 moveq.l D0, 0x00
00002CDC 1010 move.b D0, [A0]
00002CDE 600A bra +0xC /* 00002CEA */
label00002CE0:
00002CE0 486D FD26 pea.l [A5 - 0x2DA]
00002CE4 4EBA D846 jsr [PC - 0x27BA /* 0000052C */]
00002CE8 588F addq.l A7, 4
label00002CEA:
00002CEA 4E75 rts
fn00002CEC:
00002CEC 48E7 0108 movem.l -[A7], D7,A4
00002CF0 49ED FD98 lea.l A4, [A5 - 0x268]
00002CF4 7E0C moveq.l D7, 0x0C
00002CF6 600E bra +0x10 /* 00002D06 */
label00002CF8:
00002CF8 4A6C 0004 tst.w [A4 + 0x4]
00002CFC 6604 bne +0x6 /* 00002D02 */
00002CFE 200C move.l D0, A4
00002D00 6014 bra +0x16 /* 00002D16 */
label00002D02:
00002D02 49EC 0026 lea.l A4, [A4 + 0x26]
label00002D06:
00002D06 3007 move.w D0, D7
00002D08 5347 subq.w D7, 1
00002D0A 4A40 tst.w D0
00002D0C 66EA bne -0x14 /* 00002CF8 */
00002D0E 3B7C 0018 FCEA move.w [A5 - 0x316], 0x18
00002D14 7000 moveq.l D0, 0x00
label00002D16:
00002D16 4CDF 1080 movem.l D7,A4, [A7]+
00002D1A 4E75 rts
00002D1C 4E56 0000 link A6, 0
00002D20 486E 0010 pea.l [A6 + 0x10]
00002D24 2F2E 000C move.l -[A7], [A6 + 0xC]
00002D28 2F2E 0008 move.l -[A7], [A6 + 0x8]
00002D2C 4EBA 026A jsr [PC + 0x26A /* 00002F98 */]
00002D30 4E5E unlink A6
00002D32 4E75 rts
00002D34 4E56 0000 link A6, 0
00002D38 486E 000C pea.l [A6 + 0xC]
00002D3C 2F2E 0008 move.l -[A7], [A6 + 0x8]
00002D40 4EBA 0006 jsr [PC + 0x6 /* 00002D48 */]
00002D44 4E5E unlink A6
00002D46 4E75 rts
fn00002D48:
00002D48 4E56 0000 link A6, 0
00002D4C 2F2E 000C move.l -[A7], [A6 + 0xC]
00002D50 2F2E 0008 move.l -[A7], [A6 + 0x8]
00002D54 486D FD4C pea.l [A5 - 0x2B4]
00002D58 4EBA 023E jsr [PC + 0x23E /* 00002F98 */]
00002D5C 4E5E unlink A6
00002D5E 4E75 rts
00002D60 4E56 0000 link A6, 0
00002D64 486E 0010 pea.l [A6 + 0x10]
00002D68 2F2E 000C move.l -[A7], [A6 + 0xC]
00002D6C 2F2E 0008 move.l -[A7], [A6 + 0x8]
00002D70 4EBA 0C22 jsr [PC + 0xC22 /* 00003994 */]
00002D74 4E5E unlink A6
00002D76 4E75 rts
00002D78 4E56 0000 link A6, 0
00002D7C 486E 000C pea.l [A6 + 0xC]
00002D80 2F2E 0008 move.l -[A7], [A6 + 0x8]
00002D84 4EBA 0006 jsr [PC + 0x6 /* 00002D8C */]
00002D88 4E5E unlink A6
00002D8A 4E75 rts
fn00002D8C:
00002D8C 4E56 0000 link A6, 0
00002D90 2F2E 000C move.l -[A7], [A6 + 0xC]
00002D94 2F2E 0008 move.l -[A7], [A6 + 0x8]
00002D98 486D FD26 pea.l [A5 - 0x2DA]
00002D9C 4EBA 0BF6 jsr [PC + 0xBF6 /* 00003994 */]
00002DA0 4E5E unlink A6
00002DA2 4E75 rts
fn00002DA4:
00002DA4 4E56 0000 link A6, 0
00002DA8 4878 0200 push.l 0x200
00002DAC 4AAE 000C tst.l [A6 + 0xC]
00002DB0 6704 beq +0x6 /* 00002DB6 */
00002DB2 7000 moveq.l D0, 0x00
00002DB4 6002 bra +0x4 /* 00002DB8 */
label00002DB6:
00002DB6 7002 moveq.l D0, 0x02
label00002DB8:
00002DB8 3F00 move.w -[A7], D0
00002DBA 2F2E 000C move.l -[A7], [A6 + 0xC]
00002DBE 2F2E 0008 move.l -[A7], [A6 + 0x8]
00002DC2 4EBA 0006 jsr [PC + 0x6 /* 00002DCA */]
00002DC6 4E5E unlink A6
00002DC8 4E75 rts
fn00002DCA:
00002DCA 4E56 0000 link A6, 0
00002DCE 48E7 0318 movem.l -[A7], D6,D7,A3,A4
00002DD2 2E2E 0012 move.l D7, [A6 + 0x12]
00002DD6 286E 0008 movea.l A4, [A6 + 0x8]
00002DDA 266E 000C movea.l A3, [A6 + 0xC]
00002DDE 7C00 moveq.l D6, 0x00
00002DE0 2F0C move.l -[A7], A4
00002DE2 4EBA 16E6 jsr [PC + 0x16E6 /* 000044CA */]
00002DE6 302E 0010 move.w D0, [A6 + 0x10]
00002DEA 588F addq.l A7, 4
00002DEC 6B28 bmi +0x2A /* 00002E16 */
00002DEE 5540 subq.w D0, 2
00002DF0 6704 beq +0x6 /* 00002DF6 */
00002DF2 6A22 bpl +0x24 /* 00002E16 */
00002DF4 6008 bra +0xA /* 00002DFE */
label00002DF6:
00002DF6 47EC 0002 lea.l A3, [A4 + 0x2]
00002DFA 7E01 moveq.l D7, 0x01
00002DFC 601C bra +0x1E /* 00002E1A */
label00002DFE:
00002DFE 4A87 tst.l D7
00002E00 6714 beq +0x16 /* 00002E16 */
00002E02 200B move.l D0, A3
00002E04 6614 bne +0x16 /* 00002E1A */
00002E06 7C01 moveq.l D6, 0x01
00002E08 2F07 move.l -[A7], D7
00002E0A 4EBA D1F4 jsr [PC - 0x2E0C /* 00000000 */]
00002E0E 2640 movea.l A3, D0
00002E10 200B move.l D0, A3
00002E12 588F addq.l A7, 4
00002E14 6604 bne +0x6 /* 00002E1A */
label00002E16:
00002E16 70FF moveq.l D0, 0xFFFFFFFF
00002E18 602C bra +0x2E /* 00002E46 */
label00002E1A:
00002E1A 0814 0002 btst.b [A4], 0x2
00002E1E 670E beq +0x10 /* 00002E2E */
00002E20 2F2C 0006 move.l -[A7], [A4 + 0x6]
00002E24 4EBA D39C jsr [PC - 0x2C64 /* 000001C2 */]
00002E28 0894 0002 bclr.b [A4], 0x2
00002E2C 588F addq.l A7, 4
label00002E2E:
00002E2E 4A46 tst.w D6
00002E30 6704 beq +0x6 /* 00002E36 */
00002E32 08D4 0002 bset.b [A4], 0x2
label00002E36:
00002E36 294B 0006 move.l [A4 + 0x6], A3
00002E3A 2947 000A move.l [A4 + 0xA], D7
00002E3E 2F0C move.l -[A7], A4
00002E40 4EBA D880 jsr [PC - 0x2780 /* 000006C2 */]
00002E44 7000 moveq.l D0, 0x00
label00002E46:
00002E46 4CEE 18C0 FFF0 movem.l D6,D7,A3,A4, [A6 - 0x10]
00002E4C 4E5E unlink A6
00002E4E 4E75 rts
fn00002E50:
00002E50 4E56 0000 link A6, 0
00002E54 48E7 0308 movem.l -[A7], D6,D7,A4
00002E58 286E 0008 movea.l A4, [A6 + 0x8]
00002E5C 200C move.l D0, A4
00002E5E 670E beq +0x10 /* 00002E6E */
00002E60 2F0C move.l -[A7], A4
00002E62 4EBA 1666 jsr [PC + 0x1666 /* 000044CA */]
00002E66 2E8C move.l [A7], A4
00002E68 4EBA D80A jsr [PC - 0x27F6 /* 00000674 */]
00002E6C 602C bra +0x2E /* 00002E9A */
label00002E6E:
00002E6E 7E00 moveq.l D7, 0x00
00002E70 49ED FD26 lea.l A4, [A5 - 0x2DA]
00002E74 7C0F moveq.l D6, 0x0F
00002E76 6018 bra +0x1A /* 00002E90 */
label00002E78:
00002E78 0814 0003 btst.b [A4], 0x3
00002E7C 670E beq +0x10 /* 00002E8C */
00002E7E 2F0C move.l -[A7], A4
00002E80 4EBA D7F2 jsr [PC - 0x280E /* 00000674 */]
00002E84 4A40 tst.w D0
00002E86 588F addq.l A7, 4
00002E88 6702 beq +0x4 /* 00002E8C */
00002E8A 7EFF moveq.l D7, 0xFFFFFFFF
label00002E8C:
00002E8C 49EC 0026 lea.l A4, [A4 + 0x26]
label00002E90:
00002E90 3006 move.w D0, D6
00002E92 5346 subq.w D6, 1
00002E94 4A40 tst.w D0
00002E96 66E0 bne -0x1E /* 00002E78 */
00002E98 3007 move.w D0, D7
label00002E9A:
00002E9A 4CEE 10C0 FFF4 movem.l D6,D7,A4, [A6 - 0xC]
00002EA0 4E5E unlink A6
00002EA2 4E75 rts
fn00002EA4:
00002EA4 4E56 0000 link A6, 0
00002EA8 48E7 0108 movem.l -[A7], D7,A4
00002EAC 286E 0008 movea.l A4, [A6 + 0x8]
00002EB0 7E00 moveq.l D7, 0x00
00002EB2 0894 0007 bclr.b [A4], 0x7
00002EB6 4A6C 0004 tst.w [A4 + 0x4]
00002EBA 673C beq +0x3E /* 00002EF8 */
00002EBC 2F0C move.l -[A7], A4
00002EBE 4EBA D7B4 jsr [PC - 0x284C /* 00000674 */]
00002EC2 4A40 tst.w D0
00002EC4 588F addq.l A7, 4
00002EC6 6702 beq +0x4 /* 00002ECA */
00002EC8 7EFF moveq.l D7, 0xFFFFFFFF
label00002ECA:
00002ECA 2F0C move.l -[A7], A4
00002ECC 4EBA 17A6 jsr [PC + 0x17A6 /* 00004674 */]
00002ED0 4A40 tst.w D0
00002ED2 588F addq.l A7, 4
00002ED4 6702 beq +0x4 /* 00002ED8 */
00002ED6 7EFF moveq.l D7, 0xFFFFFFFF
label00002ED8:
00002ED8 0814 0002 btst.b [A4], 0x2
00002EDC 670A beq +0xC /* 00002EE8 */
00002EDE 2F2C 0006 move.l -[A7], [A4 + 0x6]
00002EE2 4EBA D2DE jsr [PC - 0x2D22 /* 000001C2 */]
00002EE6 588F addq.l A7, 4
label00002EE8:
00002EE8 4878 0026 push.l 0x26 /* '&' */
00002EEC 4267 clr.w -[A7]
00002EEE 2F0C move.l -[A7], A4
00002EF0 4EBA 008E jsr [PC + 0x8E /* 00002F80 */]
00002EF4 4FEF 000A lea.l A7, [A7 + 0xA]
label00002EF8:
00002EF8 3007 move.w D0, D7
00002EFA 4CDF 1080 movem.l D7,A4, [A7]+
00002EFE 4E5E unlink A6
00002F00 4E75 rts
fn00002F02:
00002F02 202F 0004 move.l D0, [A7 + 0x4]
00002F06 2040 movea.l A0, D0
00002F08 226F 0008 movea.l A1, [A7 + 0x8]
00002F0C 222F 000C move.l D1, [A7 + 0xC]
00002F10 6004 bra +0x6 /* 00002F16 */
label00002F12:
00002F12 10D9 move.b [A0]+, [A1]+
00002F14 5381 subq.l D1, 1
label00002F16:
00002F16 66FA bne -0x4 /* 00002F12 */
00002F18 4E75 rts
fn00002F1A:
00002F1A 202F 0004 move.l D0, [A7 + 0x4]
00002F1E 2040 movea.l A0, D0
00002F20 226F 0008 movea.l A1, [A7 + 0x8]
00002F24 222F 000C move.l D1, [A7 + 0xC]
00002F28 6716 beq +0x18 /* 00002F40 */
00002F2A B3C8 cmpa.l A1, A0
00002F2C 620C bhi +0xE /* 00002F3A */
00002F2E D1C1 add.l A0, D1
00002F30 D3C1 add.l A1, D1
label00002F32:
00002F32 1121 move.b -[A0], -[A1]
00002F34 5381 subq.l D1, 1
00002F36 66FA bne -0x4 /* 00002F32 */
00002F38 4E75 rts
label00002F3A:
00002F3A 10D9 move.b [A0]+, [A1]+
00002F3C 5381 subq.l D1, 1
00002F3E 66FA bne -0x4 /* 00002F3A */
label00002F40:
00002F40 4E75 rts
00002F42 7000 moveq.l D0, 0x00
00002F44 206F 0004 movea.l A0, [A7 + 0x4]
00002F48 226F 0008 movea.l A1, [A7 + 0x8]
00002F4C 222F 000C move.l D1, [A7 + 0xC]
00002F50 6002 bra +0x4 /* 00002F54 */
label00002F52:
00002F52 5381 subq.l D1, 1
label00002F54:
00002F54 670A beq +0xC /* 00002F60 */
00002F56 B308 cmpm.b [A1]+, [A0]+
00002F58 67F8 beq -0x6 /* 00002F52 */
00002F5A 6502 bcs +0x4 /* 00002F5E */
00002F5C 5580 subq.l D0, 2
label00002F5E:
00002F5E 5280 addq.l D0, 1
label00002F60:
00002F60 4E75 rts
fn00002F62:
00002F62 7001 moveq.l D0, 0x01
00002F64 206F 0004 movea.l A0, [A7 + 0x4]
00002F68 122F 0009 move.b D1, [A7 + 0x9]
00002F6C 242F 000A move.l D2, [A7 + 0xA]
00002F70 6002 bra +0x4 /* 00002F74 */
label00002F72:
00002F72 5382 subq.l D2, 1
label00002F74:
00002F74 6706 beq +0x8 /* 00002F7C */
00002F76 B218 cmp.b D1, [A0]+
00002F78 66F8 bne -0x6 /* 00002F72 */
00002F7A 2008 move.l D0, A0
label00002F7C:
00002F7C 5380 subq.l D0, 1
00002F7E 4E75 rts
fn00002F80:
00002F80 202F 0004 move.l D0, [A7 + 0x4]
00002F84 2040 movea.l A0, D0
00002F86 122F 0009 move.b D1, [A7 + 0x9]
00002F8A 242F 000A move.l D2, [A7 + 0xA]
00002F8E 6004 bra +0x6 /* 00002F94 */
label00002F90:
00002F90 10C1 move.b [A0]+, D1
00002F92 5382 subq.l D2, 1
label00002F94:
00002F94 66FA bne -0x4 /* 00002F90 */
00002F96 4E75 rts
fn00002F98:
00002F98 4E56 FDC4 link A6, -0x023C
00002F9C 48E7 1F38 movem.l -[A7], D3,D4,D5,D6,D7,A2,A3,A4
00002FA0 286E 0008 movea.l A4, [A6 + 0x8]
00002FA4 266E 000C movea.l A3, [A6 + 0xC]
00002FA8 7800 moveq.l D4, 0x00
00002FAA 1E13 move.b D7, [A3]
00002FAC 4887 ext.w D7
00002FAE 6000 08A8 bra +0x8AA /* 00003858 */
label00002FB2:
00002FB2 0C47 0025 cmpi.w D7, 0x25 /* '%' */
00002FB6 6600 07B8 bne +0x7BA /* 00003770 */
00002FBA 2D6D FF60 FDE4 move.l [A6 - 0x21C], [A5 - 0xA0]
00002FC0 2D6D FF64 FDE8 move.l [A6 - 0x218], [A5 - 0x9C]
label00002FC6:
00002FC6 528B addq.l A3, 1
00002FC8 1E13 move.b D7, [A3]
00002FCA 4887 ext.w D7
00002FCC 0C47 002D cmpi.w D7, 0x2D /* '-' */
00002FD0 6608 bne +0xA /* 00002FDA */
00002FD2 08EE 0007 FDE4 bset.b [A6 - 0x21C], 0x7
00002FD8 60EC bra -0x12 /* 00002FC6 */
label00002FDA:
00002FDA 0C47 002B cmpi.w D7, 0x2B /* '+' */
00002FDE 6608 bne +0xA /* 00002FE8 */
00002FE0 08EE 0006 FDE4 bset.b [A6 - 0x21C], 0x6
00002FE6 60DE bra -0x20 /* 00002FC6 */
label00002FE8:
00002FE8 0C47 0020 cmpi.w D7, 0x20 /* ' ' */
00002FEC 6608 bne +0xA /* 00002FF6 */
00002FEE 1D7C 0020 FDE6 move.b [A6 - 0x21A], 0x20 /* ' ' */
00002FF4 60D0 bra -0x2E /* 00002FC6 */
label00002FF6:
00002FF6 0C47 0023 cmpi.w D7, 0x23 /* '#' */
00002FFA 6608 bne +0xA /* 00003004 */
00002FFC 08EE 0005 FDE4 bset.b [A6 - 0x21C], 0x5
00003002 60C2 bra -0x3C /* 00002FC6 */
label00003004:
00003004 0C47 0030 cmpi.w D7, 0x30 /* '0' */
00003008 6608 bne +0xA /* 00003012 */
0000300A 08EE 0004 FDE4 bset.b [A6 - 0x21C], 0x4
00003010 60B4 bra -0x4A /* 00002FC6 */
label00003012:
00003012 0C47 002A cmpi.w D7, 0x2A /* '*' */
00003016 6640 bne +0x42 /* 00003058 */
00003018 206E 0010 movea.l A0, [A6 + 0x10]
0000301C 54AE 0010 addq.l [A6 + 0x10], 2
00003020 3010 move.w D0, [A0]
00003022 3D40 FDE8 move.w [A6 - 0x218], D0
00003026 4A40 tst.w D0
00003028 6C10 bge +0x12 /* 0000303A */
0000302A 08EE 0007 FDE4 bset.b [A6 - 0x21C], 0x7
00003030 302E FDE8 move.w D0, [A6 - 0x218]
00003034 4440 neg.w D0
00003036 3D40 FDE8 move.w [A6 - 0x218], D0
label0000303A:
0000303A 528B addq.l A3, 1
0000303C 1E13 move.b D7, [A3]
0000303E 4887 ext.w D7
00003040 6022 bra +0x24 /* 00003064 */
label00003042:
00003042 700A moveq.l D0, 0x0A
00003044 C1EE FDE8 muls.w D0, [A6 - 0x218]
00003048 0640 FFD0 addi.w D0, 0xFFD0
0000304C D047 add.w D0, D7
0000304E 3D40 FDE8 move.w [A6 - 0x218], D0
00003052 528B addq.l A3, 1
00003054 1E13 move.b D7, [A3]
00003056 4887 ext.w D7
label00003058:
00003058 0C47 0030 cmpi.w D7, 0x30 /* '0' */
0000305C 6D06 blt +0x8 /* 00003064 */
0000305E 0C47 0039 cmpi.w D7, 0x39 /* '9' */
00003062 6FDE ble -0x20 /* 00003042 */
label00003064:
00003064 0C47 002E cmpi.w D7, 0x2E /* '.' */
00003068 664E bne +0x50 /* 000030B8 */
0000306A 528B addq.l A3, 1
0000306C 1E13 move.b D7, [A3]
0000306E 4887 ext.w D7
00003070 0C47 002A cmpi.w D7, 0x2A /* '*' */
00003074 662A bne +0x2C /* 000030A0 */
00003076 206E 0010 movea.l A0, [A6 + 0x10]
0000307A 54AE 0010 addq.l [A6 + 0x10], 2
0000307E 3D50 FDEA move.w [A6 - 0x216], [A0]
00003082 528B addq.l A3, 1
00003084 1E13 move.b D7, [A3]
00003086 4887 ext.w D7
00003088 6022 bra +0x24 /* 000030AC */
label0000308A:
0000308A 700A moveq.l D0, 0x0A
0000308C C1EE FDEA muls.w D0, [A6 - 0x216]
00003090 0640 FFD0 addi.w D0, 0xFFD0
00003094 D047 add.w D0, D7
00003096 3D40 FDEA move.w [A6 - 0x216], D0
0000309A 528B addq.l A3, 1
0000309C 1E13 move.b D7, [A3]
0000309E 4887 ext.w D7
label000030A0:
000030A0 0C47 0030 cmpi.w D7, 0x30 /* '0' */
000030A4 6D06 blt +0x8 /* 000030AC */
000030A6 0C47 0039 cmpi.w D7, 0x39 /* '9' */
000030AA 6FDE ble -0x20 /* 0000308A */
label000030AC:
000030AC 4A6E FDEA tst.w [A6 - 0x216]
000030B0 6D06 blt +0x8 /* 000030B8 */
000030B2 08EE 0003 FDE4 bset.b [A6 - 0x21C], 0x3
label000030B8:
000030B8 45EE FFF4 lea.l A2, [A6 - 0xC]
000030BC 4A2E FDE4 tst.b [A6 - 0x21C]
000030C0 6A06 bpl +0x8 /* 000030C8 */
000030C2 08AE 0004 FDE4 bclr.b [A6 - 0x21C], 0x4
label000030C8:
000030C8 3007 move.w D0, D7
000030CA 0440 0045 subi.w D0, 0x45 /* 'E' */
000030CE 0C40 0033 cmpi.w D0, 0x33 /* '3' */
000030D2 6200 0694 bhi +0x696 /* 00003768 */
000030D6 43FA 0790 lea.l A1, [PC + 0x790 /* 00003868, value 0xFBAEFF00 */]
000030DA D040 add.w D0, D0
000030DC D2F1 0000 add.w A1, [A1 + D0.w]
000030E0 4ED1 jmp [A1]
000030E2 08EE 0002 FDE4 bset.b [A6 - 0x21C], 0x2
000030E8 528B addq.l A3, 1
000030EA 1E13 move.b D7, [A3]
000030EC 4887 ext.w D7
000030EE 60D8 bra -0x26 /* 000030C8 */
000030F0 08EE 0001 FDE4 bset.b [A6 - 0x21C], 0x1
000030F6 528B addq.l A3, 1
000030F8 1E13 move.b D7, [A3]
000030FA 4887 ext.w D7
000030FC 60CA bra -0x34 /* 000030C8 */
000030FE 08EE 0000 FDE4 bset.b [A6 - 0x21C], 0x0
00003104 528B addq.l A3, 1
00003106 1E13 move.b D7, [A3]
00003108 4887 ext.w D7
0000310A 60BC bra -0x42 /* 000030C8 */
0000310C 082E 0001 FDE4 btst.b [A6 - 0x21C], 0x1
00003112 670C beq +0xE /* 00003120 */
00003114 206E 0010 movea.l A0, [A6 + 0x10]
00003118 58AE 0010 addq.l [A6 + 0x10], 4
0000311C 2610 move.l D3, [A0]
0000311E 600C bra +0xE /* 0000312C */
label00003120:
00003120 206E 0010 movea.l A0, [A6 + 0x10]
00003124 54AE 0010 addq.l [A6 + 0x10], 2
00003128 3610 move.w D3, [A0]
0000312A 48C3 ext.l D3
label0000312C:
0000312C 082E 0002 FDE4 btst.b [A6 - 0x21C], 0x2
00003132 6702 beq +0x4 /* 00003136 */
00003134 48C3 ext.l D3
label00003136:
00003136 4A83 tst.l D3
00003138 6C0A bge +0xC /* 00003144 */
0000313A 4483 neg.l D3
0000313C 1D7C 002D FDE6 move.b [A6 - 0x21A], 0x2D /* '-' */
00003142 6042 bra +0x44 /* 00003186 */
label00003144:
00003144 082E 0006 FDE4 btst.b [A6 - 0x21C], 0x6
0000314A 673A beq +0x3C /* 00003186 */
0000314C 1D7C 002B FDE6 move.b [A6 - 0x21A], 0x2B /* '+' */
00003152 6032 bra +0x34 /* 00003186 */
00003154 082E 0001 FDE4 btst.b [A6 - 0x21C], 0x1
0000315A 670C beq +0xE /* 00003168 */
0000315C 206E 0010 movea.l A0, [A6 + 0x10]
00003160 58AE 0010 addq.l [A6 + 0x10], 4
00003164 2610 move.l D3, [A0]
00003166 600C bra +0xE /* 00003174 */
label00003168:
00003168 206E 0010 movea.l A0, [A6 + 0x10]
0000316C 54AE 0010 addq.l [A6 + 0x10], 2
00003170 7600 moveq.l D3, 0x00
00003172 3610 move.w D3, [A0]
label00003174:
00003174 082E 0002 FDE4 btst.b [A6 - 0x21C], 0x2
0000317A 6706 beq +0x8 /* 00003182 */
0000317C 7000 moveq.l D0, 0x00
0000317E 3003 move.w D0, D3
00003180 2600 move.l D3, D0
label00003182:
00003182 422E FDE6 clr.b [A6 - 0x21A]
label00003186:
00003186 082E 0003 FDE4 btst.b [A6 - 0x21C], 0x3
0000318C 6626 bne +0x28 /* 000031B4 */
0000318E 082E 0004 FDE4 btst.b [A6 - 0x21C], 0x4
00003194 6710 beq +0x12 /* 000031A6 */
00003196 3D6E FDE8 FDEA move.w [A6 - 0x216], [A6 - 0x218]
0000319C 4A2E FDE6 tst.b [A6 - 0x21A]
000031A0 6704 beq +0x6 /* 000031A6 */
000031A2 536E FDEA subq.w [A6 - 0x216], 1
label000031A6:
000031A6 0C6E 0001 FDEA cmpi.w [A6 - 0x216], 0x1
000031AC 6C06 bge +0x8 /* 000031B4 */
000031AE 3D7C 0001 FDEA move.w [A6 - 0x216], 0x1
label000031B4:
000031B4 7C00 moveq.l D6, 0x00
000031B6 6020 bra +0x22 /* 000031D8 */
label000031B8:
000031B8 4878 000A push.l 0xA /* '\n' */
000031BC 2F03 move.l -[A7], D3
000031BE 4EAD 0052 jsr [A5 + 0x52 /* export_6 */]
000031C2 0600 0030 addi.b D0, 0x30 /* '0' */
000031C6 538A subq.l A2, 1
000031C8 1480 move.b [A2], D0
000031CA 4878 000A push.l 0xA /* '\n' */
000031CE 2F03 move.l -[A7], D3
000031D0 4EAD 004A jsr [A5 + 0x4A /* export_5 */]
000031D4 2600 move.l D3, D0
000031D6 5246 addq.w D6, 1
label000031D8:
000031D8 4A83 tst.l D3
000031DA 66DC bne -0x22 /* 000031B8 */
000031DC 6008 bra +0xA /* 000031E6 */
label000031DE:
000031DE 538A subq.l A2, 1
000031E0 14BC 0030 move.b [A2], 0x30 /* '0' */
000031E4 5246 addq.w D6, 1
label000031E6:
000031E6 BC6E FDEA cmp.w D6, [A6 - 0x216]
000031EA 6DF2 blt -0xC /* 000031DE */
000031EC 4A2E FDE6 tst.b [A6 - 0x21A]
000031F0 6700 05B4 beq +0x5B6 /* 000037A6 */
000031F4 538A subq.l A2, 1
000031F6 14AE FDE6 move.b [A2], [A6 - 0x21A]
000031FA 5246 addq.w D6, 1
000031FC 6000 05A8 bra +0x5AA /* 000037A6 */
00003200 082E 0001 FDE4 btst.b [A6 - 0x21C], 0x1
00003206 670C beq +0xE /* 00003214 */
00003208 206E 0010 movea.l A0, [A6 + 0x10]
0000320C 58AE 0010 addq.l [A6 + 0x10], 4
00003210 2610 move.l D3, [A0]
00003212 600C bra +0xE /* 00003220 */
label00003214:
00003214 206E 0010 movea.l A0, [A6 + 0x10]
00003218 54AE 0010 addq.l [A6 + 0x10], 2
0000321C 7600 moveq.l D3, 0x00
0000321E 3610 move.w D3, [A0]
label00003220:
00003220 082E 0002 FDE4 btst.b [A6 - 0x21C], 0x2
00003226 6706 beq +0x8 /* 0000322E */
00003228 7000 moveq.l D0, 0x00
0000322A 3003 move.w D0, D3
0000322C 2600 move.l D3, D0
label0000322E:
0000322E 082E 0003 FDE4 btst.b [A6 - 0x21C], 0x3
00003234 661C bne +0x1E /* 00003252 */
00003236 082E 0004 FDE4 btst.b [A6 - 0x21C], 0x4
0000323C 6706 beq +0x8 /* 00003244 */
0000323E 3D6E FDE8 FDEA move.w [A6 - 0x216], [A6 - 0x218]
label00003244:
00003244 0C6E 0001 FDEA cmpi.w [A6 - 0x216], 0x1
0000324A 6C06 bge +0x8 /* 00003252 */
0000324C 3D7C 0001 FDEA move.w [A6 - 0x216], 0x1
label00003252:
00003252 7C00 moveq.l D6, 0x00
00003254 6010 bra +0x12 /* 00003266 */
label00003256:
00003256 7007 moveq.l D0, 0x07
00003258 C083 and.l D0, D3
0000325A 0600 0030 addi.b D0, 0x30 /* '0' */
0000325E 538A subq.l A2, 1
00003260 1480 move.b [A2], D0
00003262 E68B lsr D3, 3
00003264 5246 addq.w D6, 1
label00003266:
00003266 4A83 tst.l D3
00003268 66EC bne -0x12 /* 00003256 */
0000326A 082E 0005 FDE4 btst.b [A6 - 0x21C], 0x5
00003270 671C beq +0x1E /* 0000328E */
00003272 4A46 tst.w D6
00003274 6718 beq +0x1A /* 0000328E */
00003276 0C12 0030 cmpi.b [A2], 0x30 /* '0' */
0000327A 6712 beq +0x14 /* 0000328E */
0000327C 538A subq.l A2, 1
0000327E 14BC 0030 move.b [A2], 0x30 /* '0' */
00003282 5246 addq.w D6, 1
00003284 6008 bra +0xA /* 0000328E */
label00003286:
00003286 538A subq.l A2, 1
00003288 14BC 0030 move.b [A2], 0x30 /* '0' */
0000328C 5246 addq.w D6, 1
label0000328E:
0000328E BC6E FDEA cmp.w D6, [A6 - 0x216]
00003292 6DF2 blt -0xC /* 00003286 */
00003294 6000 0510 bra +0x512 /* 000037A6 */
00003298 08EE 0001 FDE4 bset.b [A6 - 0x21C], 0x1
0000329E 08EE 0003 FDE4 bset.b [A6 - 0x21C], 0x3
000032A4 3D7C 0008 FDEA move.w [A6 - 0x216], 0x8
000032AA 41ED FF68 lea.l A0, [A5 - 0x98]
000032AE 2D48 FDF0 move.l [A6 - 0x210], A0
000032B2 6008 bra +0xA /* 000032BC */
000032B4 41ED FF7A lea.l A0, [A5 - 0x86]
000032B8 2D48 FDF0 move.l [A6 - 0x210], A0
label000032BC:
000032BC 082E 0001 FDE4 btst.b [A6 - 0x21C], 0x1
000032C2 670C beq +0xE /* 000032D0 */
000032C4 206E 0010 movea.l A0, [A6 + 0x10]
000032C8 58AE 0010 addq.l [A6 + 0x10], 4
000032CC 2610 move.l D3, [A0]
000032CE 600C bra +0xE /* 000032DC */
label000032D0:
000032D0 206E 0010 movea.l A0, [A6 + 0x10]
000032D4 54AE 0010 addq.l [A6 + 0x10], 2
000032D8 7600 moveq.l D3, 0x00
000032DA 3610 move.w D3, [A0]
label000032DC:
000032DC 082E 0002 FDE4 btst.b [A6 - 0x21C], 0x2
000032E2 6706 beq +0x8 /* 000032EA */
000032E4 7000 moveq.l D0, 0x00
000032E6 3003 move.w D0, D3
000032E8 2600 move.l D3, D0
label000032EA:
000032EA 082E 0003 FDE4 btst.b [A6 - 0x21C], 0x3
000032F0 6628 bne +0x2A /* 0000331A */
000032F2 082E 0004 FDE4 btst.b [A6 - 0x21C], 0x4
000032F8 6712 beq +0x14 /* 0000330C */
000032FA 3D6E FDE8 FDEA move.w [A6 - 0x216], [A6 - 0x218]
00003300 082E 0005 FDE4 btst.b [A6 - 0x21C], 0x5
00003306 6704 beq +0x6 /* 0000330C */
00003308 556E FDEA subq.w [A6 - 0x216], 2
label0000330C:
0000330C 0C6E 0001 FDEA cmpi.w [A6 - 0x216], 0x1
00003312 6C06 bge +0x8 /* 0000331A */
00003314 3D7C 0001 FDEA move.w [A6 - 0x216], 0x1
label0000331A:
0000331A 7C00 moveq.l D6, 0x00
0000331C 6012 bra +0x14 /* 00003330 */
label0000331E:
0000331E 700F moveq.l D0, 0x0F
00003320 C083 and.l D0, D3
00003322 D0AE FDF0 add.l D0, [A6 - 0x210]
00003326 2040 movea.l A0, D0
00003328 538A subq.l A2, 1
0000332A 1490 move.b [A2], [A0]
0000332C E88B lsr D3, 4
0000332E 5246 addq.w D6, 1
label00003330:
00003330 4A83 tst.l D3
00003332 66EA bne -0x14 /* 0000331E */
00003334 6008 bra +0xA /* 0000333E */
label00003336:
00003336 538A subq.l A2, 1
00003338 14BC 0030 move.b [A2], 0x30 /* '0' */
0000333C 5246 addq.w D6, 1
label0000333E:
0000333E BC6E FDEA cmp.w D6, [A6 - 0x216]
00003342 6DF2 blt -0xC /* 00003336 */
00003344 082E 0005 FDE4 btst.b [A6 - 0x21C], 0x5
0000334A 6700 045A beq +0x45C /* 000037A6 */
0000334E 538A subq.l A2, 1
00003350 1487 move.b [A2], D7
00003352 538A subq.l A2, 1
00003354 14BC 0030 move.b [A2], 0x30 /* '0' */
00003358 5446 addq.w D6, 2
0000335A 6000 044A bra +0x44C /* 000037A6 */
0000335E 082E 0000 FDE4 btst.b [A6 - 0x21C], 0x0
00003364 6718 beq +0x1A /* 0000337E */
00003366 206E 0010 movea.l A0, [A6 + 0x10]
0000336A 06AE 0000 000C 0010 addi.l [A6 + 0x10], 0xC
00003372 43EE FFF4 lea.l A1, [A6 - 0xC]
00003376 22D8 move.l [A1]+, [A0]+
00003378 22D8 move.l [A1]+, [A0]+
0000337A 22D8 move.l [A1]+, [A0]+
0000337C 6016 bra +0x18 /* 00003394 */
label0000337E:
0000337E 206E 0010 movea.l A0, [A6 + 0x10]
00003382 06AE 0000 000C 0010 addi.l [A6 + 0x10], 0xC
0000338A 43EE FFF4 lea.l A1, [A6 - 0xC]
0000338E 22D8 move.l [A1]+, [A0]+
00003390 22D8 move.l [A1]+, [A0]+
00003392 22D8 move.l [A1]+, [A0]+
label00003394:
00003394 082E 0003 FDE4 btst.b [A6 - 0x21C], 0x3
0000339A 6606 bne +0x8 /* 000033A2 */
0000339C 3D7C 0006 FDEA move.w [A6 - 0x216], 0x6
label000033A2:
000033A2 2F2E FFFC move.l -[A7], [A6 - 0x4]
000033A6 2F2E FFF8 move.l -[A7], [A6 - 0x8]
000033AA 2F2E FFF4 move.l -[A7], [A6 - 0xC]
000033AE 486E FDC4 pea.l [A6 - 0x23C]
000033B2 3F2E FDEA move.w -[A7], [A6 - 0x216]
000033B6 3F3C 0001 move.w -[A7], 0x1
000033BA 4EBA 0514 jsr [PC + 0x514 /* 000038D0 */]
000033BE 102E FDC8 move.b D0, [A6 - 0x238]
000033C2 4880 ext.w D0
000033C4 D06E FDC6 add.w D0, [A6 - 0x23A]
000033C8 3D40 FDE0 move.w [A6 - 0x220], D0
000033CC 302E FDE0 move.w D0, [A6 - 0x220]
000033D0 3D40 FDDE move.w [A6 - 0x222], D0
000033D4 5340 subq.w D0, 1
000033D6 4FEF 0014 lea.l A7, [A7 + 0x14]
000033DA 6F06 ble +0x8 /* 000033E2 */
000033DC 3D7C 0001 FDDE move.w [A6 - 0x222], 0x1
label000033E2:
000033E2 302E FDE0 move.w D0, [A6 - 0x220]
000033E6 D06E FDEA add.w D0, [A6 - 0x216]
000033EA 3D40 FDE2 move.w [A6 - 0x21E], D0
000033EE 302E FDE2 move.w D0, [A6 - 0x21E]
000033F2 906E FDDE sub.w D0, [A6 - 0x222]
000033F6 0C40 01FC cmpi.w D0, 0x1FC
000033FA 6F00 018C ble +0x18E /* 00003588 */
000033FE 4878 0007 push.l 0x7
00003402 486D FF8C pea.l [A5 - 0x74]
00003406 486E FDC8 pea.l [A6 - 0x238]
0000340A 4EBA FAF6 jsr [PC - 0x50A /* 00002F02 */]
0000340E 4FEF 000C lea.l A7, [A7 + 0xC]
00003412 6000 0174 bra +0x176 /* 00003588 */
00003416 082E 0000 FDE4 btst.b [A6 - 0x21C], 0x0
0000341C 6718 beq +0x1A /* 00003436 */
0000341E 206E 0010 movea.l A0, [A6 + 0x10]
00003422 06AE 0000 000C 0010 addi.l [A6 + 0x10], 0xC
0000342A 43EE FFF4 lea.l A1, [A6 - 0xC]
0000342E 22D8 move.l [A1]+, [A0]+
00003430 22D8 move.l [A1]+, [A0]+
00003432 22D8 move.l [A1]+, [A0]+
00003434 6016 bra +0x18 /* 0000344C */
label00003436:
00003436 206E 0010 movea.l A0, [A6 + 0x10]
0000343A 06AE 0000 000C 0010 addi.l [A6 + 0x10], 0xC
00003442 43EE FFF4 lea.l A1, [A6 - 0xC]
00003446 22D8 move.l [A1]+, [A0]+
00003448 22D8 move.l [A1]+, [A0]+
0000344A 22D8 move.l [A1]+, [A0]+
label0000344C:
0000344C 082E 0003 FDE4 btst.b [A6 - 0x21C], 0x3
00003452 6606 bne +0x8 /* 0000345A */
00003454 3D7C 0006 FDEA move.w [A6 - 0x216], 0x6
label0000345A:
0000345A 1D47 FDE7 move.b [A6 - 0x219], D7
0000345E 2F2E FFFC move.l -[A7], [A6 - 0x4]
00003462 2F2E FFF8 move.l -[A7], [A6 - 0x8]
00003466 2F2E FFF4 move.l -[A7], [A6 - 0xC]
0000346A 486E FDC4 pea.l [A6 - 0x23C]
0000346E 7001 moveq.l D0, 0x01
00003470 D06E FDEA add.w D0, [A6 - 0x216]
00003474 3D40 FDE2 move.w [A6 - 0x21E], D0
00003478 3F00 move.w -[A7], D0
0000347A 4267 clr.w -[A7]
0000347C 4EBA 0452 jsr [PC + 0x452 /* 000038D0 */]
00003480 7001 moveq.l D0, 0x01
00003482 3D40 FDE0 move.w [A6 - 0x220], D0
00003486 3D40 FDDE move.w [A6 - 0x222], D0
0000348A 102E FDC8 move.b D0, [A6 - 0x238]
0000348E 4880 ext.w D0
00003490 5340 subq.w D0, 1
00003492 D16E FDC6 add.w [A6 - 0x23A], D0
00003496 4FEF 0014 lea.l A7, [A7 + 0x14]
0000349A 6000 00EC bra +0xEE /* 00003588 */
0000349E 082E 0000 FDE4 btst.b [A6 - 0x21C], 0x0
000034A4 6718 beq +0x1A /* 000034BE */
000034A6 206E 0010 movea.l A0, [A6 + 0x10]
000034AA 06AE 0000 000C 0010 addi.l [A6 + 0x10], 0xC
000034B2 43EE FFF4 lea.l A1, [A6 - 0xC]
000034B6 22D8 move.l [A1]+, [A0]+
000034B8 22D8 move.l [A1]+, [A0]+
000034BA 22D8 move.l [A1]+, [A0]+
000034BC 6016 bra +0x18 /* 000034D4 */
label000034BE:
000034BE 206E 0010 movea.l A0, [A6 + 0x10]
000034C2 06AE 0000 000C 0010 addi.l [A6 + 0x10], 0xC
000034CA 43EE FFF4 lea.l A1, [A6 - 0xC]
000034CE 22D8 move.l [A1]+, [A0]+
000034D0 22D8 move.l [A1]+, [A0]+
000034D2 22D8 move.l [A1]+, [A0]+
label000034D4:
000034D4 082E 0003 FDE4 btst.b [A6 - 0x21C], 0x3
000034DA 6608 bne +0xA /* 000034E4 */
000034DC 3D7C 0006 FDEA move.w [A6 - 0x216], 0x6
000034E2 600C bra +0xE /* 000034F0 */
label000034E4:
000034E4 4A6E FDEA tst.w [A6 - 0x216]
000034E8 6606 bne +0x8 /* 000034F0 */
000034EA 3D7C 0001 FDEA move.w [A6 - 0x216], 0x1
label000034F0:
000034F0 70FE moveq.l D0, 0xFFFFFFFE
000034F2 D007 add.b D0, D7
000034F4 1D40 FDE7 move.b [A6 - 0x219], D0
000034F8 2F2E FFFC move.l -[A7], [A6 - 0x4]
000034FC 2F2E FFF8 move.l -[A7], [A6 - 0x8]
00003500 2F2E FFF4 move.l -[A7], [A6 - 0xC]
00003504 486E FDC4 pea.l [A6 - 0x23C]
00003508 302E FDEA move.w D0, [A6 - 0x216]
0000350C 3D40 FDE2 move.w [A6 - 0x21E], D0
00003510 3F00 move.w -[A7], D0
00003512 4267 clr.w -[A7]
00003514 4EBA 03BA jsr [PC + 0x3BA /* 000038D0 */]
00003518 7001 moveq.l D0, 0x01
0000351A 3D40 FDE0 move.w [A6 - 0x220], D0
0000351E 3D40 FDDE move.w [A6 - 0x222], D0
00003522 102E FDC8 move.b D0, [A6 - 0x238]
00003526 4880 ext.w D0
00003528 5340 subq.w D0, 1
0000352A D16E FDC6 add.w [A6 - 0x23A], D0
0000352E 0C6E FFFC FDC6 cmpi.w [A6 - 0x23A], 0xFFFC
00003534 4FEF 0014 lea.l A7, [A7 + 0x14]
00003538 6D24 blt +0x26 /* 0000355E */
0000353A 302E FDC6 move.w D0, [A6 - 0x23A]
0000353E B06E FDEA cmp.w D0, [A6 - 0x216]
00003542 6C1A bge +0x1C /* 0000355E */
00003544 422E FDE7 clr.b [A6 - 0x219]
00003548 302E FDC6 move.w D0, [A6 - 0x23A]
0000354C D16E FDE0 add.w [A6 - 0x220], D0
00003550 0C6E 0001 FDE0 cmpi.w [A6 - 0x220], 0x1
00003556 6C06 bge +0x8 /* 0000355E */
00003558 3D6E FDE0 FDDE move.w [A6 - 0x222], [A6 - 0x220]
label0000355E:
0000355E 082E 0005 FDE4 btst.b [A6 - 0x21C], 0x5
00003564 6622 bne +0x24 /* 00003588 */
00003566 102E FDC8 move.b D0, [A6 - 0x238]
0000356A 4880 ext.w D0
0000356C B06E FDE2 cmp.w D0, [A6 - 0x21E]
00003570 6C16 bge +0x18 /* 00003588 */
00003572 102E FDC8 move.b D0, [A6 - 0x238]
00003576 4880 ext.w D0
00003578 3D40 FDE2 move.w [A6 - 0x21E], D0
0000357C B06E FDE0 cmp.w D0, [A6 - 0x220]
00003580 6C06 bge +0x8 /* 00003588 */
00003582 3D6E FDE0 FDE2 move.w [A6 - 0x21E], [A6 - 0x220]
label00003588:
00003588 0C2E 0039 FDC9 cmpi.b [A6 - 0x237], 0x39 /* '9' */
0000358E 6F18 ble +0x1A /* 000035A8 */
00003590 422E FDE7 clr.b [A6 - 0x219]
00003594 426E FDE0 clr.w [A6 - 0x220]
00003598 3D7C 0001 FDDE move.w [A6 - 0x222], 0x1
0000359E 102E FDC8 move.b D0, [A6 - 0x238]
000035A2 4880 ext.w D0
000035A4 3D40 FDE2 move.w [A6 - 0x21E], D0
label000035A8:
000035A8 7C00 moveq.l D6, 0x00
000035AA 4A2E FDE7 tst.b [A6 - 0x219]
000035AE 6764 beq +0x66 /* 00003614 */
000035B0 4A6E FDC6 tst.w [A6 - 0x23A]
000035B4 6C08 bge +0xA /* 000035BE */
000035B6 302E FDC6 move.w D0, [A6 - 0x23A]
000035BA 4440 neg.w D0
000035BC 6004 bra +0x6 /* 000035C2 */
label000035BE:
000035BE 302E FDC6 move.w D0, [A6 - 0x23A]
label000035C2:
000035C2 48C0 ext.l D0
000035C4 2600 move.l D3, D0
000035C6 6020 bra +0x22 /* 000035E8 */
label000035C8:
000035C8 4878 000A push.l 0xA /* '\n' */
000035CC 2F03 move.l -[A7], D3
000035CE 4EAD 0052 jsr [A5 + 0x52 /* export_6 */]
000035D2 0600 0030 addi.b D0, 0x30 /* '0' */
000035D6 538A subq.l A2, 1
000035D8 1480 move.b [A2], D0
000035DA 4878 000A push.l 0xA /* '\n' */
000035DE 2F03 move.l -[A7], D3
000035E0 4EAD 004A jsr [A5 + 0x4A /* export_5 */]
000035E4 2600 move.l D3, D0
000035E6 5246 addq.w D6, 1
label000035E8:
000035E8 4A83 tst.l D3
000035EA 66DC bne -0x22 /* 000035C8 */
000035EC 6008 bra +0xA /* 000035F6 */
label000035EE:
000035EE 538A subq.l A2, 1
000035F0 14BC 0030 move.b [A2], 0x30 /* '0' */
000035F4 5246 addq.w D6, 1
label000035F6:
000035F6 0C46 0002 cmpi.w D6, 0x2
000035FA 6DF2 blt -0xC /* 000035EE */
000035FC 4A6E FDC6 tst.w [A6 - 0x23A]
00003600 6C04 bge +0x6 /* 00003606 */
00003602 702D moveq.l D0, 0x2D
00003604 6002 bra +0x4 /* 00003608 */
label00003606:
00003606 702B moveq.l D0, 0x2B
label00003608:
00003608 538A subq.l A2, 1
0000360A 1480 move.b [A2], D0
0000360C 538A subq.l A2, 1
0000360E 14AE FDE7 move.b [A2], [A6 - 0x219]
00003612 5446 addq.w D6, 2
label00003614:
00003614 3A2E FDE2 move.w D5, [A6 - 0x21E]
00003618 BA6E FDE0 cmp.w D5, [A6 - 0x220]
0000361C 660C bne +0xE /* 0000362A */
0000361E 082E 0005 FDE4 btst.b [A6 - 0x21C], 0x5
00003624 6604 bne +0x6 /* 0000362A */
00003626 526E FDE0 addq.w [A6 - 0x220], 1
label0000362A:
0000362A BA6E FDE0 cmp.w D5, [A6 - 0x220]
0000362E 6608 bne +0xA /* 00003638 */
00003630 538A subq.l A2, 1
00003632 14BC 002E move.b [A2], 0x2E /* '.' */
00003636 5246 addq.w D6, 1
label00003638:
00003638 4A45 tst.w D5
0000363A 6F16 ble +0x18 /* 00003652 */
0000363C 102E FDC8 move.b D0, [A6 - 0x238]
00003640 4880 ext.w D0
00003642 B045 cmp.w D0, D5
00003644 6D0C blt +0xE /* 00003652 */
00003646 204E movea.l A0, A6
00003648 D0C5 add.w A0, D5
0000364A 1028 FDC8 move.b D0, [A0 - 0x238]
0000364E 4880 ext.w D0
00003650 6002 bra +0x4 /* 00003654 */
label00003652:
00003652 7030 moveq.l D0, 0x30
label00003654:
00003654 538A subq.l A2, 1
00003656 1480 move.b [A2], D0
00003658 5345 subq.w D5, 1
0000365A BA6E FDDE cmp.w D5, [A6 - 0x222]
0000365E 6CCA bge -0x34 /* 0000362A */
00003660 302E FDE2 move.w D0, [A6 - 0x21E]
00003664 9045 sub.w D0, D5
00003666 DC40 add.w D6, D0
00003668 4A2E FDC4 tst.b [A6 - 0x23C]
0000366C 6708 beq +0xA /* 00003676 */
0000366E 1D7C 002D FDE6 move.b [A6 - 0x21A], 0x2D /* '-' */
00003674 600E bra +0x10 /* 00003684 */
label00003676:
00003676 082E 0006 FDE4 btst.b [A6 - 0x21C], 0x6
0000367C 6706 beq +0x8 /* 00003684 */
0000367E 1D7C 002B FDE6 move.b [A6 - 0x21A], 0x2B /* '+' */
label00003684:
00003684 082E 0004 FDE4 btst.b [A6 - 0x21C], 0x4
0000368A 671A beq +0x1C /* 000036A6 */
0000368C 3A2E FDE8 move.w D5, [A6 - 0x218]
00003690 4A2E FDE6 tst.b [A6 - 0x21A]
00003694 670C beq +0xE /* 000036A2 */
00003696 5345 subq.w D5, 1
00003698 6008 bra +0xA /* 000036A2 */
label0000369A:
0000369A 538A subq.l A2, 1
0000369C 14BC 0030 move.b [A2], 0x30 /* '0' */
000036A0 5246 addq.w D6, 1
label000036A2:
000036A2 BA46 cmp.w D5, D6
000036A4 6EF4 bgt -0xA /* 0000369A */
label000036A6:
000036A6 4A2E FDE6 tst.b [A6 - 0x21A]
000036AA 6700 00FA beq +0xFC /* 000037A6 */
000036AE 538A subq.l A2, 1
000036B0 14AE FDE6 move.b [A2], [A6 - 0x21A]
000036B4 5246 addq.w D6, 1
000036B6 6000 00EE bra +0xF0 /* 000037A6 */
000036BA 206E 0010 movea.l A0, [A6 + 0x10]
000036BE 54AE 0010 addq.l [A6 + 0x10], 2
000036C2 538A subq.l A2, 1
000036C4 14A8 0001 move.b [A2], [A0 + 0x1]
000036C8 7C01 moveq.l D6, 0x01
000036CA 6000 00DA bra +0xDC /* 000037A6 */
000036CE 206E 0010 movea.l A0, [A6 + 0x10]
000036D2 58AE 0010 addq.l [A6 + 0x10], 4
000036D6 2450 movea.l A2, [A0]
000036D8 082E 0005 FDE4 btst.b [A6 - 0x21C], 0x5
000036DE 671E beq +0x20 /* 000036FE */
000036E0 7C00 moveq.l D6, 0x00
000036E2 1C1A move.b D6, [A2]+
000036E4 082E 0003 FDE4 btst.b [A6 - 0x21C], 0x3
000036EA 6700 00BA beq +0xBC /* 000037A6 */
000036EE BC6E FDEA cmp.w D6, [A6 - 0x216]
000036F2 6F00 00B2 ble +0xB4 /* 000037A6 */
000036F6 3C2E FDEA move.w D6, [A6 - 0x216]
000036FA 6000 00AA bra +0xAC /* 000037A6 */
label000036FE:
000036FE 082E 0003 FDE4 btst.b [A6 - 0x21C], 0x3
00003704 660E bne +0x10 /* 00003714 */
00003706 2F0A move.l -[A7], A2
00003708 4EBA 10A4 jsr [PC + 0x10A4 /* 000047AE */]
0000370C 3C00 move.w D6, D0
0000370E 588F addq.l A7, 4
00003710 6000 0094 bra +0x96 /* 000037A6 */
label00003714:
00003714 306E FDEA movea.w A0, [A6 - 0x216]
00003718 2F08 move.l -[A7], A0
0000371A 4267 clr.w -[A7]
0000371C 2F0A move.l -[A7], A2
0000371E 4EBA F842 jsr [PC - 0x7BE /* 00002F62 */]
00003722 2D40 FDEC move.l [A6 - 0x214], D0
00003726 4FEF 000A lea.l A7, [A7 + 0xA]
0000372A 6708 beq +0xA /* 00003734 */
0000372C 2C2E FDEC move.l D6, [A6 - 0x214]
00003730 9C8A sub.l D6, A2
00003732 6072 bra +0x74 /* 000037A6 */
label00003734:
00003734 3C2E FDEA move.w D6, [A6 - 0x216]
00003738 606C bra +0x6E /* 000037A6 */
0000373A 206E 0010 movea.l A0, [A6 + 0x10]
0000373E 58AE 0010 addq.l [A6 + 0x10], 4
00003742 2450 movea.l A2, [A0]
00003744 082E 0002 FDE4 btst.b [A6 - 0x21C], 0x2
0000374A 6706 beq +0x8 /* 00003752 */
0000374C 3484 move.w [A2], D4
0000374E 6000 0102 bra +0x104 /* 00003852 */
label00003752:
00003752 082E 0001 FDE4 btst.b [A6 - 0x21C], 0x1
00003758 6708 beq +0xA /* 00003762 */
0000375A 3044 movea.w A0, D4
0000375C 2488 move.l [A2], A0
0000375E 6000 00F2 bra +0xF4 /* 00003852 */
label00003762:
00003762 3484 move.w [A2], D4
00003764 6000 00EC bra +0xEE /* 00003852 */
label00003768:
00003768 0C47 0025 cmpi.w D7, 0x25 /* '%' */
0000376C 6600 00F0 bne +0xF2 /* 0000385E */
label00003770:
00003770 202C 0012 move.l D0, [A4 + 0x12]
00003774 53AC 0012 subq.l [A4 + 0x12], 1
00003778 5380 subq.l D0, 1
0000377A 6310 bls +0x12 /* 0000378C */
0000377C 206C 000E movea.l A0, [A4 + 0xE]
00003780 52AC 000E addq.l [A4 + 0xE], 1
00003784 1087 move.b [A0], D7
00003786 7000 moveq.l D0, 0x00
00003788 1007 move.b D0, D7
0000378A 600A bra +0xC /* 00003796 */
label0000378C:
0000378C 2F0C move.l -[A7], A4
0000378E 3F07 move.w -[A7], D7
00003790 4EBA CDFC jsr [PC - 0x3204 /* 0000058E */]
00003794 5C8F addq.l A7, 6
label00003796:
00003796 4A40 tst.w D0
00003798 6C06 bge +0x8 /* 000037A0 */
0000379A 70FF moveq.l D0, 0xFFFFFFFF
0000379C 6000 00C2 bra +0xC4 /* 00003860 */
label000037A0:
000037A0 5244 addq.w D4, 1
000037A2 6000 00AE bra +0xB0 /* 00003852 */
label000037A6:
000037A6 BC6E FDE8 cmp.w D6, [A6 - 0x218]
000037AA 6C46 bge +0x48 /* 000037F2 */
000037AC 4A2E FDE4 tst.b [A6 - 0x21C]
000037B0 6B40 bmi +0x42 /* 000037F2 */
label000037B2:
000037B2 202C 0012 move.l D0, [A4 + 0x12]
000037B6 53AC 0012 subq.l [A4 + 0x12], 1
000037BA 5380 subq.l D0, 1
000037BC 6312 bls +0x14 /* 000037D0 */
000037BE 206C 000E movea.l A0, [A4 + 0xE]
000037C2 52AC 000E addq.l [A4 + 0xE], 1
000037C6 7020 moveq.l D0, 0x20
000037C8 1080 move.b [A0], D0
000037CA 7200 moveq.l D1, 0x00
000037CC 1200 move.b D1, D0
000037CE 600E bra +0x10 /* 000037DE */
label000037D0:
000037D0 2F0C move.l -[A7], A4
000037D2 3F3C 0020 move.w -[A7], 0x20 /* ' ' */
000037D6 4EBA CDB6 jsr [PC - 0x324A /* 0000058E */]
000037DA 3200 move.w D1, D0
000037DC 5C8F addq.l A7, 6
label000037DE:
000037DE 4A41 tst.w D1
000037E0 6C04 bge +0x6 /* 000037E6 */
000037E2 70FF moveq.l D0, 0xFFFFFFFF
000037E4 607A bra +0x7C /* 00003860 */
label000037E6:
000037E6 5244 addq.w D4, 1
000037E8 536E FDE8 subq.w [A6 - 0x218], 1
000037EC BC6E FDE8 cmp.w D6, [A6 - 0x218]
000037F0 6DC0 blt -0x3E /* 000037B2 */
label000037F2:
000037F2 2F0C move.l -[A7], A4
000037F4 3046 movea.w A0, D6
000037F6 2F08 move.l -[A7], A0
000037F8 4878 0001 push.l 0x1
000037FC 2F0A move.l -[A7], A2
000037FE 4EBA F240 jsr [PC - 0xDC0 /* 00002A40 */]
00003802 3046 movea.w A0, D6
00003804 B1C0 cmpa.l A0, D0
00003806 4FEF 0010 lea.l A7, [A7 + 0x10]
0000380A 6704 beq +0x6 /* 00003810 */
0000380C 70FF moveq.l D0, 0xFFFFFFFF
0000380E 6050 bra +0x52 /* 00003860 */
label00003810:
00003810 D846 add.w D4, D6
00003812 6038 bra +0x3A /* 0000384C */
label00003814:
00003814 202C 0012 move.l D0, [A4 + 0x12]
00003818 53AC 0012 subq.l [A4 + 0x12], 1
0000381C 5380 subq.l D0, 1
0000381E 6312 bls +0x14 /* 00003832 */
00003820 206C 000E movea.l A0, [A4 + 0xE]
00003824 52AC 000E addq.l [A4 + 0xE], 1
00003828 7020 moveq.l D0, 0x20
0000382A 1080 move.b [A0], D0
0000382C 7200 moveq.l D1, 0x00
0000382E 1200 move.b D1, D0
00003830 600E bra +0x10 /* 00003840 */
label00003832:
00003832 2F0C move.l -[A7], A4
00003834 3F3C 0020 move.w -[A7], 0x20 /* ' ' */
00003838 4EBA CD54 jsr [PC - 0x32AC /* 0000058E */]
0000383C 3200 move.w D1, D0
0000383E 5C8F addq.l A7, 6
label00003840:
00003840 4A41 tst.w D1
00003842 6C04 bge +0x6 /* 00003848 */
00003844 70FF moveq.l D0, 0xFFFFFFFF
00003846 6018 bra +0x1A /* 00003860 */
label00003848:
00003848 5244 addq.w D4, 1
0000384A 5246 addq.w D6, 1
label0000384C:
0000384C BC6E FDE8 cmp.w D6, [A6 - 0x218]
00003850 6DC2 blt -0x3C /* 00003814 */
label00003852:
00003852 528B addq.l A3, 1
00003854 1E13 move.b D7, [A3]
00003856 4887 ext.w D7
label00003858:
00003858 4A47 tst.w D7
0000385A 6600 F756 bne -0x8A8 /* 00002FB2 */
label0000385E:
0000385E 3004 move.w D0, D4
label00003860:
00003860 4CDF 1CF8 movem.l D3,D4,D5,D6,D7,A2,A3,A4, [A7]+
00003864 4E5E unlink A6
00003866 4E75 rts
00003868 FBAE .invalid <<F/6/5>>
0000386A FF00 .extension 0xF00 <<F/4-5/7>> // unimplemented
0000386C FC36 FF00 .unknown 0xFC36 0xFF00 (W = 6)
00003870 FF00 .extension 0xF00 <<F/4-5/7>> // unimplemented
00003872 FF00 .extension 0xF00 <<F/4-5/7>> // unimplemented
00003874 FF00 .extension 0xF00 <<F/4-5/7>> // unimplemented
00003876 F896 FF00 .extension 0x896 <<F/2-3/4>> // unimplemented
0000387A FF00 .extension 0xF00 <<F/4-5/7>> // unimplemented
0000387C FF00 .extension 0xF00 <<F/4-5/7>> // unimplemented
0000387E FF00 .extension 0xF00 <<F/4-5/7>> // unimplemented
00003880 FF00 .extension 0xF00 <<F/4-5/7>> // unimplemented
00003882 FF00 .extension 0xF00 <<F/4-5/7>> // unimplemented
00003884 FF00 .extension 0xF00 <<F/4-5/7>> // unimplemented
00003886 FF00 .extension 0xF00 <<F/4-5/7>> // unimplemented
00003888 FF00 .extension 0xF00 <<F/4-5/7>> // unimplemented
0000388A FF00 .extension 0xF00 <<F/4-5/7>> // unimplemented
0000388C FF00 .extension 0xF00 <<F/4-5/7>> // unimplemented
0000388E FA42 FF00 .extension 0xA42 <<F/1/5>>, 0xFF00 // unimplemented
00003892 FF00 .extension 0xF00 <<F/4-5/7>> // unimplemented
00003894 FF00 .extension 0xF00 <<F/4-5/7>> // unimplemented
00003896 FF00 .extension 0xF00 <<F/4-5/7>> // unimplemented
00003898 FF00 .extension 0xF00 <<F/4-5/7>> // unimplemented
0000389A FF00 .extension 0xF00 <<F/4-5/7>> // unimplemented
0000389C FF00 .extension 0xF00 <<F/4-5/7>> // unimplemented
0000389E FF00 .extension 0xF00 <<F/4-5/7>> // unimplemented
000038A0 FF00 .extension 0xF00 <<F/4-5/7>> // unimplemented
000038A2 FF00 .extension 0xF00 <<F/4-5/7>> // unimplemented
000038A4 FE52 F8A4 .extension 0xE52 <<F/1/7>>, 0xF8A4 // unimplemented
000038A8 FBAE .invalid <<F/6/5>>
000038AA FAF6 FC36 .extension 0xAF6 <<F/2-3/5>> // unimplemented
000038AE F87A F8A4 .extension 0x87A <<F/1/4>>, 0xF8A4 // unimplemented
000038B2 FF00 .extension 0xF00 <<F/4-5/7>> // unimplemented
000038B4 FF00 .extension 0xF00 <<F/4-5/7>> // unimplemented
000038B6 F888 FF00 .extension 0x888 <<F/2-3/4>> // unimplemented
000038BA FED2 F998 .extension 0xED2 <<F/2-3/7>> // unimplemented
000038BE FA30 FF00 .unknown 0xFA30 0xFF00 (W = 5)
000038C2 FF00 .extension 0xF00 <<F/4-5/7>> // unimplemented
000038C4 FE66 FF00 .extension 0xE66 <<F/1/7>>, 0xFF00 // unimplemented
000038C8 F8EC FF00 .extension 0x8EC <<F/2-3/4>> // unimplemented
000038CC FF00 .extension 0xF00 <<F/4-5/7>> // unimplemented
000038CE FA4C 4E56 .extension 0xA4C <<F/1/5>>, 0x4E56 // unimplemented
// begin alternate branch 000038D0-000038D4
fn000038D0:
000038D0 4E56 FFFC link A6, -0x0004
// end alternate branch 000038D0-000038D4
fn000038D0: // (misaligned)
000038D2 FFFC .invalid <<F/7/7>>
000038D4 48E7 0318 movem.l -[A7], D6,D7,A3,A4
000038D8 286E 000C movea.l A4, [A6 + 0xC]
000038DC 3E2E 000A move.w D7, [A6 + 0xA]
000038E0 47EE 0010 lea.l A3, [A6 + 0x10]
000038E4 548B addq.l A3, 2
000038E6 0C47 0014 cmpi.w D7, 0x14
000038EA 6502 bcs +0x4 /* 000038EE */
000038EC 7E13 moveq.l D7, 0x13
label000038EE:
000038EE 1D6E 0009 FFFC move.b [A6 - 0x4], [A6 + 0x9]
000038F4 3D47 FFFE move.w [A6 - 0x2], D7
000038F8 486E FFFC pea.l [A6 - 0x4]
000038FC 2F0B move.l -[A7], A3
000038FE 2F0C move.l -[A7], A4
00003900 3F3C 000B move.w -[A7], 0xB
00003904 A9EB syscall Pack4/FP68K
00003906 0C2C 003F 0005 cmpi.b [A4 + 0x5], 0x3F /* '?' */
0000390C 6618 bne +0x1A /* 00003926 */
0000390E 422E FFFC clr.b [A6 - 0x4]
00003912 3D7C 0013 FFFE move.w [A6 - 0x2], 0x13
00003918 486E FFFC pea.l [A6 - 0x4]
0000391C 2F0B move.l -[A7], A3
0000391E 2F0C move.l -[A7], A4
00003920 3F3C 000B move.w -[A7], 0xB
00003924 A9EB syscall Pack4/FP68K
label00003926:
00003926 1C2C 0004 move.b D6, [A4 + 0x4]
0000392A 4886 ext.w D6
0000392C 6006 bra +0x8 /* 00003934 */
label0000392E:
0000392E 526C 0002 addq.w [A4 + 0x2], 1
00003932 5346 subq.w D6, 1
label00003934:
00003934 0C46 0001 cmpi.w D6, 0x1
00003938 6F08 ble +0xA /* 00003942 */
0000393A 0C34 0030 6004 cmpi.b [A4 + D6.w + 0x4], 0x30 /* '0' */
00003940 67EC beq -0x12 /* 0000392E */
label00003942:
00003942 1946 0004 move.b [A4 + 0x4], D6
00003946 0C2C 0030 0005 cmpi.b [A4 + 0x5], 0x30 /* '0' */
0000394C 6608 bne +0xA /* 00003956 */
0000394E 4214 clr.b [A4]
00003950 426C 0002 clr.w [A4 + 0x2]
00003954 6036 bra +0x38 /* 0000398C */
label00003956:
00003956 0C2C 0049 0005 cmpi.b [A4 + 0x5], 0x49 /* 'I' */
0000395C 6614 bne +0x16 /* 00003972 */
0000395E 197C 0003 0004 move.b [A4 + 0x4], 0x3
00003964 197C 004E 0006 move.b [A4 + 0x6], 0x4E /* 'N' */
0000396A 197C 0046 0007 move.b [A4 + 0x7], 0x46 /* 'F' */
00003970 601A bra +0x1C /* 0000398C */
label00003972:
00003972 0C2C 004E 0005 cmpi.b [A4 + 0x5], 0x4E /* 'N' */
00003978 6612 bne +0x14 /* 0000398C */
0000397A 197C 0005 0004 move.b [A4 + 0x4], 0x5
00003980 197C 0041 0006 move.b [A4 + 0x6], 0x41 /* 'A' */
00003986 197C 004E 0007 move.b [A4 + 0x7], 0x4E /* 'N' */
label0000398C:
0000398C 4CDF 18C0 movem.l D6,D7,A3,A4, [A7]+
00003990 4E5E unlink A6
00003992 4E75 rts
fn00003994:
00003994 4E56 FFD8 link A6, -0x0028
00003998 48E7 0F08 movem.l -[A7], D4,D5,D6,D7,A4
0000399C 426E FFFE clr.w [A6 - 0x2]
000039A0 426E FFFC clr.w [A6 - 0x4]
000039A4 426E FFFA clr.w [A6 - 0x6]
000039A8 206E 000C movea.l A0, [A6 + 0xC]
000039AC 1E10 move.b D7, [A0]
000039AE 4887 ext.w D7
000039B0 6000 087C bra +0x87E /* 0000422E */
label000039B4:
000039B4 0C47 0025 cmpi.w D7, 0x25 /* '%' */
000039B8 6600 02EA bne +0x2EC /* 00003CA4 */
000039BC 2D6D FF94 FFF0 move.l [A6 - 0x10], [A5 - 0x6C]
000039C2 52AE 000C addq.l [A6 + 0xC], 1
000039C6 206E 000C movea.l A0, [A6 + 0xC]
000039CA 1E10 move.b D7, [A0]
000039CC 4887 ext.w D7
000039CE 0C47 002A cmpi.w D7, 0x2A /* '*' */
000039D2 6612 bne +0x14 /* 000039E6 */
000039D4 08EE 0007 FFF0 bset.b [A6 - 0x10], 0x7
000039DA 52AE 000C addq.l [A6 + 0xC], 1
000039DE 206E 000C movea.l A0, [A6 + 0xC]
000039E2 1E10 move.b D7, [A0]
000039E4 4887 ext.w D7
label000039E6:
000039E6 7000 moveq.l D0, 0x00
000039E8 1007 move.b D0, D7
000039EA 204D movea.l A0, A5
000039EC D1C0 add.l A0, D0
000039EE 0828 0004 FBEA btst.b [A0 - 0x416], 0x4
000039F4 673A beq +0x3C /* 00003A30 */
000039F6 08EE 0006 FFF0 bset.b [A6 - 0x10], 0x6
label000039FC:
000039FC 700A moveq.l D0, 0x0A
000039FE C1EE FFF2 muls.w D0, [A6 - 0xE]
00003A02 0640 FFD0 addi.w D0, 0xFFD0
00003A06 D047 add.w D0, D7
00003A08 3D40 FFF2 move.w [A6 - 0xE], D0
00003A0C 52AE 000C addq.l [A6 + 0xC], 1
00003A10 206E 000C movea.l A0, [A6 + 0xC]
00003A14 1E10 move.b D7, [A0]
00003A16 4887 ext.w D7
00003A18 7000 moveq.l D0, 0x00
00003A1A 1007 move.b D0, D7
00003A1C 204D movea.l A0, A5
00003A1E D1C0 add.l A0, D0
00003A20 0828 0004 FBEA btst.b [A0 - 0x416], 0x4
00003A26 66D4 bne -0x2A /* 000039FC */
00003A28 4A6E FFF2 tst.w [A6 - 0xE]
00003A2C 6F00 0806 ble +0x808 /* 00004234 */
label00003A30:
00003A30 3007 move.w D0, D7
00003A32 0440 003F subi.w D0, 0x3F /* '?' */
00003A36 0C40 0039 cmpi.w D0, 0x39 /* '9' */
00003A3A 6200 0260 bhi +0x262 /* 00003C9C */
00003A3E 43FA 0810 lea.l A1, [PC + 0x810 /* 00004250, value 0xF836FA4C */]
00003A42 D040 add.w D0, D0
00003A44 D2F1 0000 add.w A1, [A1 + D0.w]
00003A48 4ED1 jmp [A1]
00003A4A 08EE 0007 FFF1 bset.b [A6 - 0xF], 0x7
00003A50 52AE 000C addq.l [A6 + 0xC], 1
00003A54 206E 000C movea.l A0, [A6 + 0xC]
00003A58 1E10 move.b D7, [A0]
00003A5A 4887 ext.w D7
00003A5C 60D2 bra -0x2C /* 00003A30 */
00003A5E 08EE 0006 FFF1 bset.b [A6 - 0xF], 0x6
00003A64 52AE 000C addq.l [A6 + 0xC], 1
00003A68 206E 000C movea.l A0, [A6 + 0xC]
00003A6C 1E10 move.b D7, [A0]
00003A6E 4887 ext.w D7
00003A70 60BE bra -0x40 /* 00003A30 */
00003A72 08EE 0005 FFF1 bset.b [A6 - 0xF], 0x5
00003A78 52AE 000C addq.l [A6 + 0xC], 1
00003A7C 206E 000C movea.l A0, [A6 + 0xC]
00003A80 1E10 move.b D7, [A0]
00003A82 4887 ext.w D7
00003A84 60AA bra -0x54 /* 00003A30 */
00003A86 08EE 0005 FFF0 bset.b [A6 - 0x10], 0x5
00003A8C 52AE 000C addq.l [A6 + 0xC], 1
00003A90 206E 000C movea.l A0, [A6 + 0xC]
00003A94 1E10 move.b D7, [A0]
00003A96 4887 ext.w D7
00003A98 6096 bra -0x68 /* 00003A30 */
00003A9A 7C0A moveq.l D6, 0x0A
00003A9C 6000 036E bra +0x370 /* 00003E0C */
00003AA0 7C00 moveq.l D6, 0x00
00003AA2 6000 0368 bra +0x36A /* 00003E0C */
00003AA6 7C08 moveq.l D6, 0x08
00003AA8 6000 035C bra +0x35E /* 00003E06 */
00003AAC 7C0A moveq.l D6, 0x0A
00003AAE 6000 0356 bra +0x358 /* 00003E06 */
00003AB2 08EE 0006 FFF1 bset.b [A6 - 0xF], 0x6
00003AB8 7C10 moveq.l D6, 0x10
00003ABA 6000 034A bra +0x34C /* 00003E06 */
00003ABE 08EE 0001 FFF0 bset.b [A6 - 0x10], 0x1
00003AC4 3D7C FFFF FFF6 move.w [A6 - 0xA], 0xFFFF
00003ACA 6000 0356 bra +0x358 /* 00003E22 */
label00003ACE:
00003ACE 206E 0008 movea.l A0, [A6 + 0x8]
00003AD2 2028 0012 move.l D0, [A0 + 0x12]
00003AD6 53A8 0012 subq.l [A0 + 0x12], 1
00003ADA 4A80 tst.l D0
00003ADC 6712 beq +0x14 /* 00003AF0 */
00003ADE 206E 0008 movea.l A0, [A6 + 0x8]
00003AE2 2268 000E movea.l A1, [A0 + 0xE]
00003AE6 52A8 000E addq.l [A0 + 0xE], 1
00003AEA 7000 moveq.l D0, 0x00
00003AEC 1011 move.b D0, [A1]
00003AEE 600A bra +0xC /* 00003AFA */
label00003AF0:
00003AF0 2F2E 0008 move.l -[A7], [A6 + 0x8]
00003AF4 4EBA CA36 jsr [PC - 0x35CA /* 0000052C */]
00003AF8 588F addq.l A7, 4
label00003AFA:
00003AFA 3E00 move.w D7, D0
00003AFC 526E FFFA addq.w [A6 - 0x6], 1
00003B00 7000 moveq.l D0, 0x00
00003B02 1007 move.b D0, D7
00003B04 204D movea.l A0, A5
00003B06 D1C0 add.l A0, D0
00003B08 7006 moveq.l D0, 0x06
00003B0A C028 FBEA and.b D0, [A0 - 0x416]
00003B0E 66BE bne -0x40 /* 00003ACE */
00003B10 3F3C 0001 move.w -[A7], 0x1
00003B14 4EBA 07AE jsr [PC + 0x7AE /* 000042C4 */]
00003B18 548F addq.l A7, 2
00003B1A 6000 0240 bra +0x242 /* 00003D5C */
00003B1E 52AE 000C addq.l [A6 + 0xC], 1
00003B22 206E 000C movea.l A0, [A6 + 0xC]
00003B26 1E10 move.b D7, [A0]
00003B28 4887 ext.w D7
00003B2A 0C47 005E cmpi.w D7, 0x5E /* '^' */
00003B2E 6612 bne +0x14 /* 00003B42 */
00003B30 08EE 0004 FFF0 bset.b [A6 - 0x10], 0x4
00003B36 52AE 000C addq.l [A6 + 0xC], 1
00003B3A 206E 000C movea.l A0, [A6 + 0xC]
00003B3E 1E10 move.b D7, [A0]
00003B40 4887 ext.w D7
label00003B42:
00003B42 4267 clr.w -[A7]
00003B44 4EBA 077E jsr [PC + 0x77E /* 000042C4 */]
00003B48 548F addq.l A7, 2
label00003B4A:
00003B4A 4A47 tst.w D7
00003B4C 6700 06E6 beq +0x6E8 /* 00004234 */
00003B50 7000 moveq.l D0, 0x00
00003B52 1007 move.b D0, D7
00003B54 3F00 move.w -[A7], D0
00003B56 4EBA 07A0 jsr [PC + 0x7A0 /* 000042F8 */]
00003B5A 548F addq.l A7, 2
00003B5C 52AE 000C addq.l [A6 + 0xC], 1
00003B60 206E 000C movea.l A0, [A6 + 0xC]
00003B64 1E10 move.b D7, [A0]
00003B66 4887 ext.w D7
00003B68 0C47 005D cmpi.w D7, 0x5D /* ']' */
00003B6C 6758 beq +0x5A /* 00003BC6 */
00003B6E 0C47 002D cmpi.w D7, 0x2D /* '-' */
00003B72 66D6 bne -0x28 /* 00003B4A */
00003B74 206E 000C movea.l A0, [A6 + 0xC]
00003B78 0C28 005D 0001 cmpi.b [A0 + 0x1], 0x5D /* ']' */
00003B7E 67CA beq -0x34 /* 00003B4A */
00003B80 206E 000C movea.l A0, [A6 + 0xC]
00003B84 1028 0001 move.b D0, [A0 + 0x1]
00003B88 4880 ext.w D0
00003B8A 1220 move.b D1, -[A0]
00003B8C 1D41 FFF5 move.b [A6 - 0xB], D1
00003B90 7400 moveq.l D2, 0x00
00003B92 1401 move.b D2, D1
00003B94 B440 cmp.w D2, D0
00003B96 6EB2 bgt -0x4C /* 00003B4A */
00003B98 52AE 000C addq.l [A6 + 0xC], 1
00003B9C 206E 000C movea.l A0, [A6 + 0xC]
00003BA0 1E10 move.b D7, [A0]
00003BA2 4887 ext.w D7
00003BA4 6014 bra +0x16 /* 00003BBA */
label00003BA6:
00003BA6 102E FFF5 move.b D0, [A6 - 0xB]
00003BAA 522E FFF5 addq.b [A6 - 0xB], 1
00003BAE 7200 moveq.l D1, 0x00
00003BB0 1200 move.b D1, D0
00003BB2 3F01 move.w -[A7], D1
00003BB4 4EBA 0742 jsr [PC + 0x742 /* 000042F8 */]
00003BB8 548F addq.l A7, 2
label00003BBA:
00003BBA 7000 moveq.l D0, 0x00
00003BBC 102E FFF5 move.b D0, [A6 - 0xB]
00003BC0 BE40 cmp.w D7, D0
00003BC2 66E2 bne -0x1C /* 00003BA6 */
00003BC4 6084 bra -0x7A /* 00003B4A */
label00003BC6:
00003BC6 082E 0004 FFF0 btst.b [A6 - 0x10], 0x4
00003BCC 6704 beq +0x6 /* 00003BD2 */
00003BCE 4EBA 0748 jsr [PC + 0x748 /* 00004318 */]
label00003BD2:
00003BD2 206E 0008 movea.l A0, [A6 + 0x8]
00003BD6 2028 0012 move.l D0, [A0 + 0x12]
00003BDA 53A8 0012 subq.l [A0 + 0x12], 1
00003BDE 4A80 tst.l D0
00003BE0 6712 beq +0x14 /* 00003BF4 */
00003BE2 206E 0008 movea.l A0, [A6 + 0x8]
00003BE6 2268 000E movea.l A1, [A0 + 0xE]
00003BEA 52A8 000E addq.l [A0 + 0xE], 1
00003BEE 7000 moveq.l D0, 0x00
00003BF0 1011 move.b D0, [A1]
00003BF2 600A bra +0xC /* 00003BFE */
label00003BF4:
00003BF4 2F2E 0008 move.l -[A7], [A6 + 0x8]
00003BF8 4EBA C932 jsr [PC - 0x36CE /* 0000052C */]
00003BFC 588F addq.l A7, 4
label00003BFE:
00003BFE 3E00 move.w D7, D0
00003C00 526E FFFA addq.w [A6 - 0x6], 1
00003C04 6000 0156 bra +0x158 /* 00003D5C */
00003C08 082E 0006 FFF0 btst.b [A6 - 0x10], 0x6
00003C0E 6606 bne +0x8 /* 00003C16 */
00003C10 3D7C 0001 FFF2 move.w [A6 - 0xE], 0x1
label00003C16:
00003C16 4A2E FFF0 tst.b [A6 - 0x10]
00003C1A 6B4C bmi +0x4E /* 00003C68 */
00003C1C 206E 0010 movea.l A0, [A6 + 0x10]
00003C20 58AE 0010 addq.l [A6 + 0x10], 4
00003C24 2850 movea.l A4, [A0]
00003C26 6040 bra +0x42 /* 00003C68 */
label00003C28:
00003C28 206E 0008 movea.l A0, [A6 + 0x8]
00003C2C 2028 0012 move.l D0, [A0 + 0x12]
00003C30 53A8 0012 subq.l [A0 + 0x12], 1
00003C34 4A80 tst.l D0
00003C36 6712 beq +0x14 /* 00003C4A */
00003C38 206E 0008 movea.l A0, [A6 + 0x8]
00003C3C 2268 000E movea.l A1, [A0 + 0xE]
00003C40 52A8 000E addq.l [A0 + 0xE], 1
00003C44 7000 moveq.l D0, 0x00
00003C46 1011 move.b D0, [A1]
00003C48 600A bra +0xC /* 00003C54 */
label00003C4A:
00003C4A 2F2E 0008 move.l -[A7], [A6 + 0x8]
00003C4E 4EBA C8DC jsr [PC - 0x3724 /* 0000052C */]
00003C52 588F addq.l A7, 4
label00003C54:
00003C54 3E00 move.w D7, D0
00003C56 5240 addq.w D0, 1
00003C58 6700 05DA beq +0x5DC /* 00004234 */
00003C5C 4A2E FFF0 tst.b [A6 - 0x10]
00003C60 6B02 bmi +0x4 /* 00003C64 */
00003C62 18C7 move.b [A4]+, D7
label00003C64:
00003C64 526E FFFA addq.w [A6 - 0x6], 1
label00003C68:
00003C68 302E FFF2 move.w D0, [A6 - 0xE]
00003C6C 536E FFF2 subq.w [A6 - 0xE], 1
00003C70 4A40 tst.w D0
00003C72 6EB4 bgt -0x4A /* 00003C28 */
00003C74 4A2E FFF0 tst.b [A6 - 0x10]
00003C78 6B04 bmi +0x6 /* 00003C7E */
00003C7A 526E FFFE addq.w [A6 - 0x2], 1
label00003C7E:
00003C7E 526E FFFC addq.w [A6 - 0x4], 1
00003C82 6000 059E bra +0x5A0 /* 00004222 */
00003C86 382E FFFA move.w D4, [A6 - 0x6]
00003C8A 48C4 ext.l D4
00003C8C 4A2E FFF0 tst.b [A6 - 0x10]
00003C90 6B00 04FC bmi +0x4FE /* 0000418E */
00003C94 536E FFFE subq.w [A6 - 0x2], 1
00003C98 6000 04F4 bra +0x4F6 /* 0000418E */
label00003C9C:
00003C9C 0C47 0025 cmpi.w D7, 0x25 /* '%' */
00003CA0 6600 0592 bne +0x594 /* 00004234 */
label00003CA4:
00003CA4 7000 moveq.l D0, 0x00
00003CA6 1007 move.b D0, D7
00003CA8 204D movea.l A0, A5
00003CAA D1C0 add.l A0, D0
00003CAC 7006 moveq.l D0, 0x06
00003CAE C028 FBEA and.b D0, [A0 - 0x416]
00003CB2 6756 beq +0x58 /* 00003D0A */
label00003CB4:
00003CB4 206E 0008 movea.l A0, [A6 + 0x8]
00003CB8 2028 0012 move.l D0, [A0 + 0x12]
00003CBC 53A8 0012 subq.l [A0 + 0x12], 1
00003CC0 4A80 tst.l D0
00003CC2 6712 beq +0x14 /* 00003CD6 */
00003CC4 206E 0008 movea.l A0, [A6 + 0x8]
00003CC8 2268 000E movea.l A1, [A0 + 0xE]
00003CCC 52A8 000E addq.l [A0 + 0xE], 1
00003CD0 7000 moveq.l D0, 0x00
00003CD2 1011 move.b D0, [A1]
00003CD4 600A bra +0xC /* 00003CE0 */
label00003CD6:
00003CD6 2F2E 0008 move.l -[A7], [A6 + 0x8]
00003CDA 4EBA C850 jsr [PC - 0x37B0 /* 0000052C */]
00003CDE 588F addq.l A7, 4
label00003CE0:
00003CE0 3E00 move.w D7, D0
00003CE2 526E FFFA addq.w [A6 - 0x6], 1
00003CE6 7000 moveq.l D0, 0x00
00003CE8 1007 move.b D0, D7
00003CEA 204D movea.l A0, A5
00003CEC D1C0 add.l A0, D0
00003CEE 7006 moveq.l D0, 0x06
00003CF0 C028 FBEA and.b D0, [A0 - 0x416]
00003CF4 66BE bne -0x40 /* 00003CB4 */
00003CF6 2F2E 0008 move.l -[A7], [A6 + 0x8]
00003CFA 3F07 move.w -[A7], D7
00003CFC 4EBA 0ABE jsr [PC + 0xABE /* 000047BC */]
00003D00 5C8F addq.l A7, 6
00003D02 536E FFFA subq.w [A6 - 0x6], 1
00003D06 6000 051A bra +0x51C /* 00004222 */
label00003D0A:
00003D0A 206E 0008 movea.l A0, [A6 + 0x8]
00003D0E 2028 0012 move.l D0, [A0 + 0x12]
00003D12 53A8 0012 subq.l [A0 + 0x12], 1
00003D16 4A80 tst.l D0
00003D18 6712 beq +0x14 /* 00003D2C */
00003D1A 206E 0008 movea.l A0, [A6 + 0x8]
00003D1E 2268 000E movea.l A1, [A0 + 0xE]
00003D22 52A8 000E addq.l [A0 + 0xE], 1
00003D26 7000 moveq.l D0, 0x00
00003D28 1011 move.b D0, [A1]
00003D2A 600A bra +0xC /* 00003D36 */
label00003D2C:
00003D2C 2F2E 0008 move.l -[A7], [A6 + 0x8]
00003D30 4EBA C7FA jsr [PC - 0x3806 /* 0000052C */]
00003D34 588F addq.l A7, 4
label00003D36:
00003D36 3E00 move.w D7, D0
00003D38 206E 000C movea.l A0, [A6 + 0xC]
00003D3C 7200 moveq.l D1, 0x00
00003D3E 1210 move.b D1, [A0]
00003D40 B240 cmp.w D1, D0
00003D42 6710 beq +0x12 /* 00003D54 */
00003D44 2F2E 0008 move.l -[A7], [A6 + 0x8]
00003D48 3F07 move.w -[A7], D7
00003D4A 4EBA 0A70 jsr [PC + 0xA70 /* 000047BC */]
00003D4E 5C8F addq.l A7, 6
00003D50 6000 04E2 bra +0x4E4 /* 00004234 */
label00003D54:
00003D54 526E FFFA addq.w [A6 - 0x6], 1
00003D58 6000 04C8 bra +0x4CA /* 00004222 */
label00003D5C:
00003D5C 082E 0006 FFF0 btst.b [A6 - 0x10], 0x6
00003D62 6606 bne +0x8 /* 00003D6A */
00003D64 3D7C 7FFF FFF2 move.w [A6 - 0xE], 0x7FFF
label00003D6A:
00003D6A 4A2E FFF0 tst.b [A6 - 0x10]
00003D6E 6B62 bmi +0x64 /* 00003DD2 */
00003D70 206E 0010 movea.l A0, [A6 + 0x10]
00003D74 58AE 0010 addq.l [A6 + 0x10], 4
00003D78 2850 movea.l A4, [A0]
00003D7A 6056 bra +0x58 /* 00003DD2 */
label00003D7C:
00003D7C 536E FFF2 subq.w [A6 - 0xE], 1
00003D80 3F07 move.w -[A7], D7
00003D82 4EBA 05AA jsr [PC + 0x5AA /* 0000432E */]
00003D86 548F addq.l A7, 2
00003D88 4A40 tst.w D0
00003D8A 674C beq +0x4E /* 00003DD8 */
00003D8C 08EE 0003 FFF0 bset.b [A6 - 0x10], 0x3
00003D92 4A2E FFF0 tst.b [A6 - 0x10]
00003D96 6B02 bmi +0x4 /* 00003D9A */
00003D98 18C7 move.b [A4]+, D7
label00003D9A:
00003D9A 4A6E FFF2 tst.w [A6 - 0xE]
00003D9E 6748 beq +0x4A /* 00003DE8 */
00003DA0 206E 0008 movea.l A0, [A6 + 0x8]
00003DA4 2028 0012 move.l D0, [A0 + 0x12]
00003DA8 53A8 0012 subq.l [A0 + 0x12], 1
00003DAC 4A80 tst.l D0
00003DAE 6712 beq +0x14 /* 00003DC2 */
00003DB0 206E 0008 movea.l A0, [A6 + 0x8]
00003DB4 2268 000E movea.l A1, [A0 + 0xE]
00003DB8 52A8 000E addq.l [A0 + 0xE], 1
00003DBC 7000 moveq.l D0, 0x00
00003DBE 1011 move.b D0, [A1]
00003DC0 600A bra +0xC /* 00003DCC */
label00003DC2:
00003DC2 2F2E 0008 move.l -[A7], [A6 + 0x8]
00003DC6 4EBA C764 jsr [PC - 0x389C /* 0000052C */]
00003DCA 588F addq.l A7, 4
label00003DCC:
00003DCC 3E00 move.w D7, D0
00003DCE 526E FFFA addq.w [A6 - 0x6], 1
label00003DD2:
00003DD2 0C47 FFFF cmpi.w D7, 0xFFFF
00003DD6 66A4 bne -0x5A /* 00003D7C */
label00003DD8:
00003DD8 2F2E 0008 move.l -[A7], [A6 + 0x8]
00003DDC 3F07 move.w -[A7], D7
00003DDE 4EBA 09DC jsr [PC + 0x9DC /* 000047BC */]
00003DE2 5C8F addq.l A7, 6
00003DE4 536E FFFA subq.w [A6 - 0x6], 1
label00003DE8:
00003DE8 082E 0003 FFF0 btst.b [A6 - 0x10], 0x3
00003DEE 6700 0444 beq +0x446 /* 00004234 */
00003DF2 4A2E FFF0 tst.b [A6 - 0x10]
00003DF6 6B06 bmi +0x8 /* 00003DFE */
00003DF8 4214 clr.b [A4]
00003DFA 526E FFFE addq.w [A6 - 0x2], 1
label00003DFE:
00003DFE 526E FFFC addq.w [A6 - 0x4], 1
00003E02 6000 041E bra +0x420 /* 00004222 */
label00003E06:
00003E06 08EE 0002 FFF0 bset.b [A6 - 0x10], 0x2
label00003E0C:
00003E0C 082E 0005 FFF0 btst.b [A6 - 0x10], 0x5
00003E12 670A beq +0xC /* 00003E1E */
00003E14 206E 0010 movea.l A0, [A6 + 0x10]
00003E18 54AE 0010 addq.l [A6 + 0x10], 2
00003E1C 3C10 move.w D6, [A0]
label00003E1E:
00003E1E 426E FFF6 clr.w [A6 - 0xA]
label00003E22:
00003E22 7800 moveq.l D4, 0x00
label00003E24:
00003E24 206E 0008 movea.l A0, [A6 + 0x8]
00003E28 2028 0012 move.l D0, [A0 + 0x12]
00003E2C 53A8 0012 subq.l [A0 + 0x12], 1
00003E30 4A80 tst.l D0
00003E32 6712 beq +0x14 /* 00003E46 */
00003E34 206E 0008 movea.l A0, [A6 + 0x8]
00003E38 2268 000E movea.l A1, [A0 + 0xE]
00003E3C 52A8 000E addq.l [A0 + 0xE], 1
00003E40 7000 moveq.l D0, 0x00
00003E42 1011 move.b D0, [A1]
00003E44 600A bra +0xC /* 00003E50 */
label00003E46:
00003E46 2F2E 0008 move.l -[A7], [A6 + 0x8]
00003E4A 4EBA C6E0 jsr [PC - 0x3920 /* 0000052C */]
00003E4E 588F addq.l A7, 4
label00003E50:
00003E50 3E00 move.w D7, D0
00003E52 526E FFFA addq.w [A6 - 0x6], 1
00003E56 7000 moveq.l D0, 0x00
00003E58 1007 move.b D0, D7
00003E5A 204D movea.l A0, A5
00003E5C D1C0 add.l A0, D0
00003E5E 7006 moveq.l D0, 0x06
00003E60 C028 FBEA and.b D0, [A0 - 0x416]
00003E64 66BE bne -0x40 /* 00003E24 */
00003E66 082E 0006 FFF0 btst.b [A6 - 0x10], 0x6
00003E6C 6606 bne +0x8 /* 00003E74 */
00003E6E 3D7C 7FFF FFF2 move.w [A6 - 0xE], 0x7FFF
label00003E74:
00003E74 426E FFF8 clr.w [A6 - 0x8]
00003E78 6000 01F4 bra +0x1F6 /* 0000406E */
label00003E7C:
00003E7C 536E FFF2 subq.w [A6 - 0xE], 1
00003E80 302E FFF6 move.w D0, [A6 - 0xA]
00003E84 6720 beq +0x22 /* 00003EA6 */
00003E86 6A0E bpl +0x10 /* 00003E96 */
00003E88 5440 addq.w D0, 2
00003E8A 6700 0124 beq +0x126 /* 00003FB0 */
00003E8E 6A00 00F6 bpl +0xF8 /* 00003F86 */
00003E92 6000 01A2 bra +0x1A4 /* 00004036 */
label00003E96:
00003E96 5740 subq.w D0, 3
00003E98 6700 0084 beq +0x86 /* 00003F1E */
00003E9C 6A00 0198 bpl +0x19A /* 00004036 */
00003EA0 5240 addq.w D0, 1
00003EA2 6A5C bpl +0x5E /* 00003F00 */
00003EA4 601E bra +0x20 /* 00003EC4 */
label00003EA6:
00003EA6 3D7C 0001 FFF6 move.w [A6 - 0xA], 0x1
00003EAC 0C47 002D cmpi.w D7, 0x2D /* '-' */
00003EB0 660A bne +0xC /* 00003EBC */
00003EB2 08EE 0004 FFF0 bset.b [A6 - 0x10], 0x4
00003EB8 6000 017C bra +0x17E /* 00004036 */
label00003EBC:
00003EBC 0C47 002B cmpi.w D7, 0x2B /* '+' */
00003EC0 6700 0174 beq +0x176 /* 00004036 */
label00003EC4:
00003EC4 3D7C 0003 FFF6 move.w [A6 - 0xA], 0x3
00003ECA 0C47 0030 cmpi.w D7, 0x30 /* '0' */
00003ECE 664E bne +0x50 /* 00003F1E */
00003ED0 08EE 0003 FFF0 bset.b [A6 - 0x10], 0x3
00003ED6 4A6E FFF2 tst.w [A6 - 0xE]
00003EDA 6700 015A beq +0x15C /* 00004036 */
00003EDE 4A46 tst.w D6
00003EE0 660C bne +0xE /* 00003EEE */
00003EE2 7C08 moveq.l D6, 0x08
00003EE4 3D7C 0002 FFF6 move.w [A6 - 0xA], 0x2
00003EEA 6000 014A bra +0x14C /* 00004036 */
label00003EEE:
00003EEE 0C46 0010 cmpi.w D6, 0x10
00003EF2 6600 0142 bne +0x144 /* 00004036 */
00003EF6 3D7C 0002 FFF6 move.w [A6 - 0xA], 0x2
00003EFC 6000 0138 bra +0x13A /* 00004036 */
label00003F00:
00003F00 3D7C 0003 FFF6 move.w [A6 - 0xA], 0x3
00003F06 0C47 0078 cmpi.w D7, 0x78 /* 'x' */
00003F0A 6706 beq +0x8 /* 00003F12 */
00003F0C 0C47 0058 cmpi.w D7, 0x58 /* 'X' */
00003F10 660C bne +0xE /* 00003F1E */
label00003F12:
00003F12 7C10 moveq.l D6, 0x10
00003F14 08AE 0003 FFF0 bclr.b [A6 - 0x10], 0x3
00003F1A 6000 011A bra +0x11C /* 00004036 */
label00003F1E:
00003F1E 3A07 move.w D5, D7
00003F20 0C45 0030 cmpi.w D5, 0x30 /* '0' */
00003F24 6D0C blt +0xE /* 00003F32 */
00003F26 0C45 0039 cmpi.w D5, 0x39 /* '9' */
00003F2A 6E06 bgt +0x8 /* 00003F32 */
00003F2C 0645 FFD0 addi.w D5, 0xFFD0
00003F30 6026 bra +0x28 /* 00003F58 */
label00003F32:
00003F32 0C45 0041 cmpi.w D5, 0x41 /* 'A' */
00003F36 6D0C blt +0xE /* 00003F44 */
00003F38 0C45 005A cmpi.w D5, 0x5A /* 'Z' */
00003F3C 6E06 bgt +0x8 /* 00003F44 */
00003F3E 0645 FFC9 addi.w D5, 0xFFC9
00003F42 6014 bra +0x16 /* 00003F58 */
label00003F44:
00003F44 0C45 0061 cmpi.w D5, 0x61 /* 'a' */
00003F48 6D00 012C blt +0x12E /* 00004076 */
00003F4C 0C45 007A cmpi.w D5, 0x7A /* 'z' */
00003F50 6E00 0124 bgt +0x126 /* 00004076 */
00003F54 0645 FFA9 addi.w D5, 0xFFA9
label00003F58:
00003F58 4A46 tst.w D6
00003F5A 6602 bne +0x4 /* 00003F5E */
00003F5C 7C0A moveq.l D6, 0x0A
label00003F5E:
00003F5E BC45 cmp.w D6, D5
00003F60 6F00 0114 ble +0x116 /* 00004076 */
00003F64 2004 move.l D0, D4
00003F66 4840 swap.w D0
00003F68 C0C6 mulu.w D0, D6
00003F6A 4840 swap.w D0
00003F6C 4A40 tst.w D0
00003F6E 6608 bne +0xA /* 00003F78 */
00003F70 3005 move.w D0, D5
00003F72 C8C6 mulu.w D4, D6
00003F74 D880 add.l D4, D0
00003F76 6404 bcc +0x6 /* 00003F7C */
label00003F78:
00003F78 50EE FFF8 st [A6 - 0x8]
label00003F7C:
00003F7C 08EE 0003 FFF0 bset.b [A6 - 0x10], 0x3
00003F82 6000 00B2 bra +0xB4 /* 00004036 */
label00003F86:
00003F86 3D7C FFFE FFF6 move.w [A6 - 0xA], 0xFFFE
00003F8C 426E FFDA clr.w [A6 - 0x26]
00003F90 422E FFDC clr.b [A6 - 0x24]
00003F94 0C47 002D cmpi.w D7, 0x2D /* '-' */
00003F98 660A bne +0xC /* 00003FA4 */
00003F9A 1D7C 0001 FFD8 move.b [A6 - 0x28], 0x1
00003FA0 6000 0094 bra +0x96 /* 00004036 */
label00003FA4:
00003FA4 422E FFD8 clr.b [A6 - 0x28]
00003FA8 0C47 002B cmpi.w D7, 0x2B /* '+' */
00003FAC 6700 0088 beq +0x8A /* 00004036 */
label00003FB0:
00003FB0 0C47 0030 cmpi.w D7, 0x30 /* '0' */
00003FB4 6D4A blt +0x4C /* 00004000 */
00003FB6 0C47 0039 cmpi.w D7, 0x39 /* '9' */
00003FBA 6E44 bgt +0x46 /* 00004000 */
00003FBC 08EE 0003 FFF0 bset.b [A6 - 0x10], 0x3
00003FC2 0C47 0030 cmpi.w D7, 0x30 /* '0' */
00003FC6 6606 bne +0x8 /* 00003FCE */
00003FC8 4A2E FFDC tst.b [A6 - 0x24]
00003FCC 6724 beq +0x26 /* 00003FF2 */
label00003FCE:
00003FCE 0C2E 0013 FFDC cmpi.b [A6 - 0x24], 0x13
00003FD4 650E bcs +0x10 /* 00003FE4 */
00003FD6 082E 0000 FFF0 btst.b [A6 - 0x10], 0x0
00003FDC 6658 bne +0x5A /* 00004036 */
00003FDE 526E FFDA addq.w [A6 - 0x26], 1
00003FE2 6052 bra +0x54 /* 00004036 */
label00003FE4:
00003FE4 522E FFDC addq.b [A6 - 0x24], 1
00003FE8 102E FFDC move.b D0, [A6 - 0x24]
00003FEC 4880 ext.w D0
00003FEE 1D87 00DC move.b [A6 + D0.w - 0x36], D7
label00003FF2:
00003FF2 082E 0000 FFF0 btst.b [A6 - 0x10], 0x0
00003FF8 673C beq +0x3E /* 00004036 */
00003FFA 536E FFDA subq.w [A6 - 0x26], 1
00003FFE 6036 bra +0x38 /* 00004036 */
label00004000:
00004000 0C47 002E cmpi.w D7, 0x2E /* '.' */
00004004 6610 bne +0x12 /* 00004016 */
00004006 082E 0000 FFF0 btst.b [A6 - 0x10], 0x0
0000400C 6608 bne +0xA /* 00004016 */
0000400E 08EE 0000 FFF0 bset.b [A6 - 0x10], 0x0
00004014 6020 bra +0x22 /* 00004036 */
label00004016:
00004016 0C47 0065 cmpi.w D7, 0x65 /* 'e' */
0000401A 6706 beq +0x8 /* 00004022 */
0000401C 0C47 0045 cmpi.w D7, 0x45 /* 'E' */
00004020 6654 bne +0x56 /* 00004076 */
label00004022:
00004022 082E 0003 FFF0 btst.b [A6 - 0x10], 0x3
00004028 674C beq +0x4E /* 00004076 */
0000402A 7C0A moveq.l D6, 0x0A
0000402C 08AE 0003 FFF0 bclr.b [A6 - 0x10], 0x3
00004032 426E FFF6 clr.w [A6 - 0xA]
label00004036:
00004036 4A6E FFF2 tst.w [A6 - 0xE]
0000403A 674A beq +0x4C /* 00004086 */
0000403C 206E 0008 movea.l A0, [A6 + 0x8]
00004040 2028 0012 move.l D0, [A0 + 0x12]
00004044 53A8 0012 subq.l [A0 + 0x12], 1
00004048 4A80 tst.l D0
0000404A 6712 beq +0x14 /* 0000405E */
0000404C 206E 0008 movea.l A0, [A6 + 0x8]
00004050 2268 000E movea.l A1, [A0 + 0xE]
00004054 52A8 000E addq.l [A0 + 0xE], 1
00004058 7000 moveq.l D0, 0x00
0000405A 1011 move.b D0, [A1]
0000405C 600A bra +0xC /* 00004068 */
label0000405E:
0000405E 2F2E 0008 move.l -[A7], [A6 + 0x8]
00004062 4EBA C4C8 jsr [PC - 0x3B38 /* 0000052C */]
00004066 588F addq.l A7, 4
label00004068:
00004068 3E00 move.w D7, D0
0000406A 526E FFFA addq.w [A6 - 0x6], 1
label0000406E:
0000406E 0C47 FFFF cmpi.w D7, 0xFFFF
00004072 6600 FE08 bne -0x1F6 /* 00003E7C */
label00004076:
00004076 2F2E 0008 move.l -[A7], [A6 + 0x8]
0000407A 3F07 move.w -[A7], D7
0000407C 4EBA 073E jsr [PC + 0x73E /* 000047BC */]
00004080 5C8F addq.l A7, 6
00004082 536E FFFA subq.w [A6 - 0x6], 1
label00004086:
00004086 082E 0003 FFF0 btst.b [A6 - 0x10], 0x3
0000408C 6700 01A6 beq +0x1A8 /* 00004234 */
00004090 082E 0004 FFF0 btst.b [A6 - 0x10], 0x4
00004096 671A beq +0x1C /* 000040B2 */
00004098 4A84 tst.l D4
0000409A 6716 beq +0x18 /* 000040B2 */
0000409C 4484 neg.l D4
0000409E 082E 0002 FFF0 btst.b [A6 - 0x10], 0x2
000040A4 6604 bne +0x6 /* 000040AA */
000040A6 4A84 tst.l D4
000040A8 6F1A ble +0x1C /* 000040C4 */
label000040AA:
000040AA 3D7C 0001 FFF8 move.w [A6 - 0x8], 0x1
000040B0 6012 bra +0x14 /* 000040C4 */
label000040B2:
000040B2 082E 0002 FFF0 btst.b [A6 - 0x10], 0x2
000040B8 660A bne +0xC /* 000040C4 */
000040BA 4A84 tst.l D4
000040BC 6C06 bge +0x8 /* 000040C4 */
000040BE 3D7C 0001 FFF8 move.w [A6 - 0x8], 0x1
label000040C4:
000040C4 082E 0001 FFF0 btst.b [A6 - 0x10], 0x1
000040CA 6714 beq +0x16 /* 000040E0 */
000040CC 306E FFDA movea.w A0, [A6 - 0x26]
000040D0 D888 add.l D4, A0
000040D2 6906 bvs +0x8 /* 000040DA */
000040D4 2044 movea.l A0, D4
000040D6 B0C8 cmpa.w A0, A0
000040D8 6704 beq +0x6 /* 000040DE */
label000040DA:
000040DA 50EE FFF8 st [A6 - 0x8]
label000040DE:
000040DE 6058 bra +0x5A /* 00004138 */
label000040E0:
000040E0 4A2E FFF1 tst.b [A6 - 0xF]
000040E4 6A26 bpl +0x28 /* 0000410C */
000040E6 082E 0002 FFF0 btst.b [A6 - 0x10], 0x2
000040EC 6710 beq +0x12 /* 000040FE */
000040EE 7000 moveq.l D0, 0x00
000040F0 3004 move.w D0, D4
000040F2 B880 cmp.l D4, D0
000040F4 6742 beq +0x44 /* 00004138 */
000040F6 3D7C 0001 FFF8 move.w [A6 - 0x8], 0x1
000040FC 603A bra +0x3C /* 00004138 */
label000040FE:
000040FE 3044 movea.w A0, D4
00004100 B888 cmp.l D4, A0
00004102 6734 beq +0x36 /* 00004138 */
00004104 3D7C 0001 FFF8 move.w [A6 - 0x8], 0x1
0000410A 602C bra +0x2E /* 00004138 */
label0000410C:
0000410C 082E 0006 FFF1 btst.b [A6 - 0xF], 0x6
00004112 6624 bne +0x26 /* 00004138 */
00004114 082E 0002 FFF0 btst.b [A6 - 0x10], 0x2
0000411A 6710 beq +0x12 /* 0000412C */
0000411C 7000 moveq.l D0, 0x00
0000411E 3004 move.w D0, D4
00004120 B880 cmp.l D4, D0
00004122 6714 beq +0x16 /* 00004138 */
00004124 3D7C 0001 FFF8 move.w [A6 - 0x8], 0x1
0000412A 600C bra +0xE /* 00004138 */
label0000412C:
0000412C 3044 movea.w A0, D4
0000412E B888 cmp.l D4, A0
00004130 6706 beq +0x8 /* 00004138 */
00004132 3D7C 0001 FFF8 move.w [A6 - 0x8], 0x1
label00004138:
00004138 4A6E FFF8 tst.w [A6 - 0x8]
0000413C 6750 beq +0x52 /* 0000418E */
0000413E 082E 0002 FFF0 btst.b [A6 - 0x10], 0x2
00004144 6704 beq +0x6 /* 0000414A */
00004146 7800 moveq.l D4, 0x00
00004148 602C bra +0x2E /* 00004176 */
label0000414A:
0000414A 4A2E FFF1 tst.b [A6 - 0xF]
0000414E 6B08 bmi +0xA /* 00004158 */
00004150 082E 0001 FFF0 btst.b [A6 - 0x10], 0x1
00004156 6708 beq +0xA /* 00004160 */
label00004158:
00004158 283C FFFF 8000 move.l D4, 0xFFFF8000
0000415E 6016 bra +0x18 /* 00004176 */
label00004160:
00004160 082E 0006 FFF1 btst.b [A6 - 0xF], 0x6
00004166 6708 beq +0xA /* 00004170 */
00004168 283C 8000 0000 move.l D4, 0x80000000
0000416E 6006 bra +0x8 /* 00004176 */
label00004170:
00004170 283C FFFF 8000 move.l D4, 0xFFFF8000
label00004176:
00004176 082E 0004 FFF0 btst.b [A6 - 0x10], 0x4
0000417C 6602 bne +0x4 /* 00004180 */
0000417E 4684 not.l D4
label00004180:
00004180 082E 0001 FFF0 btst.b [A6 - 0x10], 0x1
00004186 6606 bne +0x8 /* 0000418E */
00004188 3B7C 0022 FCEA move.w [A5 - 0x316], 0x22 /* '\"' */
label0000418E:
0000418E 4A2E FFF0 tst.b [A6 - 0x10]
00004192 6B00 008A bmi +0x8C /* 0000421E */
00004196 206E 0010 movea.l A0, [A6 + 0x10]
0000419A 58AE 0010 addq.l [A6 + 0x10], 4
0000419E 2850 movea.l A4, [A0]
000041A0 082E 0001 FFF0 btst.b [A6 - 0x10], 0x1
000041A6 675A beq +0x5C /* 00004202 */
000041A8 3D44 FFDA move.w [A6 - 0x26], D4
000041AC 082E 0006 FFF1 btst.b [A6 - 0xF], 0x6
000041B2 6706 beq +0x8 /* 000041BA */
000041B4 08EE 0005 FFF1 bset.b [A6 - 0xF], 0x5
label000041BA:
000041BA 082E 0005 FFF1 btst.b [A6 - 0xF], 0x5
000041C0 6712 beq +0x14 /* 000041D4 */
000041C2 2F0C move.l -[A7], A4
000041C4 486E FFD8 pea.l [A6 - 0x28]
000041C8 4267 clr.w -[A7]
000041CA 4EBA 0186 jsr [PC + 0x186 /* 00004352 */]
000041CE 4FEF 000A lea.l A7, [A7 + 0xA]
000041D2 6046 bra +0x48 /* 0000421A */
label000041D4:
000041D4 4A2E FFF1 tst.b [A6 - 0xF]
000041D8 6A14 bpl +0x16 /* 000041EE */
000041DA 2F0C move.l -[A7], A4
000041DC 486E FFD8 pea.l [A6 - 0x28]
000041E0 3F3C 0800 move.w -[A7], 0x800
000041E4 4EBA 016C jsr [PC + 0x16C /* 00004352 */]
000041E8 4FEF 000A lea.l A7, [A7 + 0xA]
000041EC 602C bra +0x2E /* 0000421A */
label000041EE:
000041EE 2F0C move.l -[A7], A4
000041F0 486E FFD8 pea.l [A6 - 0x28]
000041F4 3F3C 1000 move.w -[A7], 0x1000
000041F8 4EBA 0158 jsr [PC + 0x158 /* 00004352 */]
000041FC 4FEF 000A lea.l A7, [A7 + 0xA]
00004200 6018 bra +0x1A /* 0000421A */
label00004202:
00004202 082E 0006 FFF1 btst.b [A6 - 0xF], 0x6
00004208 6704 beq +0x6 /* 0000420E */
0000420A 2884 move.l [A4], D4
0000420C 600C bra +0xE /* 0000421A */
label0000420E:
0000420E 4A2E FFF1 tst.b [A6 - 0xF]
00004212 6A04 bpl +0x6 /* 00004218 */
00004214 3884 move.w [A4], D4
00004216 6002 bra +0x4 /* 0000421A */
label00004218:
00004218 3884 move.w [A4], D4
label0000421A:
0000421A 526E FFFE addq.w [A6 - 0x2], 1
label0000421E:
0000421E 526E FFFC addq.w [A6 - 0x4], 1
label00004222:
00004222 52AE 000C addq.l [A6 + 0xC], 1
00004226 206E 000C movea.l A0, [A6 + 0xC]
0000422A 1E10 move.b D7, [A0]
0000422C 4887 ext.w D7
label0000422E:
0000422E 4A47 tst.w D7
00004230 6600 F782 bne -0x87C /* 000039B4 */
label00004234:
00004234 4A6E FFFC tst.w [A6 - 0x4]
00004238 660A bne +0xC /* 00004244 */
0000423A 0C47 FFFF cmpi.w D7, 0xFFFF
0000423E 6604 bne +0x6 /* 00004244 */
00004240 70FF moveq.l D0, 0xFFFFFFFF
00004242 6004 bra +0x6 /* 00004248 */
label00004244:
00004244 302E FFFE move.w D0, [A6 - 0x2]
label00004248:
00004248 4CDF 10F0 movem.l D4,D5,D6,D7,A4, [A7]+
0000424C 4E5E unlink A6
0000424E 4E75 rts
00004250 F836 FA4C .tblXX 0xF836, 0xFA4C // unimplemented
00004254 FA4C FA4C .extension 0xA4C <<F/1/5>>, 0xFA4C // unimplemented
00004258 FA4C FA4C .extension 0xA4C <<F/1/5>>, 0xFA4C // unimplemented
0000425C F86E FA4C .extension 0x86E <<F/1/4>>, 0xFA4C // unimplemented
00004260 F86E FA4C .extension 0x86E <<F/1/4>>, 0xFA4C // unimplemented
00004264 FA4C FA4C .extension 0xA4C <<F/1/5>>, 0xFA4C // unimplemented
00004268 FA4C F822 .extension 0xA4C <<F/1/5>>, 0xF822 // unimplemented
0000426C FA4C FA4C .extension 0xA4C <<F/1/5>>, 0xFA4C // unimplemented
00004270 FA4C FA4C .extension 0xA4C <<F/1/5>>, 0xFA4C // unimplemented
00004274 FA4C FA4C .extension 0xA4C <<F/1/5>>, 0xFA4C // unimplemented
00004278 FA4C FA4C .extension 0xA4C <<F/1/5>>, 0xFA4C // unimplemented
0000427C FA4C FA4C .extension 0xA4C <<F/1/5>>, 0xFA4C // unimplemented
00004280 FA4C F868 .extension 0xA4C <<F/1/5>>, 0xF868 // unimplemented
00004284 FA4C FA4C .extension 0xA4C <<F/1/5>>, 0xFA4C // unimplemented
00004288 F8CE FA4C .extension 0x8CE <<F/2-3/4>> // unimplemented
0000428C FA4C FA4C .extension 0xA4C <<F/1/5>>, 0xFA4C // unimplemented
00004290 FA4C FA4C .extension 0xA4C <<F/1/5>>, 0xFA4C // unimplemented
00004294 FA4C FA4C .extension 0xA4C <<F/1/5>>, 0xFA4C // unimplemented
00004298 F9B8 .invalid <<F/6/4>>
0000429A F84A F86E .extension 0x84A <<F/1/4>>, 0xF86E // unimplemented
0000429E F86E F86E .extension 0x86E <<F/1/4>>, 0xF86E // unimplemented
000042A2 F7FA .invalid <<F/7/3>>
000042A4 F850 FA4C .extension 0x850 <<F/1/4>>, 0xFA4C // unimplemented
000042A8 FA4C F80E .extension 0xA4C <<F/1/5>>, 0xF80E // unimplemented
000042AC FA4C FA36 .extension 0xA4C <<F/1/5>>, 0xFA36 // unimplemented
000042B0 F856 F862 .extension 0x856 <<F/1/4>>, 0xF862 // unimplemented
000042B4 FA4C FA4C .extension 0xA4C <<F/1/5>>, 0xFA4C // unimplemented
000042B8 F87E FA4C .extension 0x87E <<F/1/4>>, 0xFA4C // unimplemented
000042BC F85C FA4C .extension 0x85C <<F/1/4>>, 0xFA4C // unimplemented
000042C0 FA4C F868 .extension 0xA4C <<F/1/5>>, 0xF868 // unimplemented
fn000042C4:
000042C4 4E56 0000 link A6, 0
000042C8 41ED FF98 lea.l A0, [A5 - 0x68]
000042CC 7000 moveq.l D0, 0x00
000042CE 20C0 move.l [A0]+, D0
000042D0 20C0 move.l [A0]+, D0
000042D2 20C0 move.l [A0]+, D0
000042D4 20C0 move.l [A0]+, D0
000042D6 20C0 move.l [A0]+, D0
000042D8 20C0 move.l [A0]+, D0
000042DA 20C0 move.l [A0]+, D0
000042DC 20C0 move.l [A0]+, D0
000042DE 4A6E 0008 tst.w [A6 + 0x8]
000042E2 6710 beq +0x12 /* 000042F4 */
000042E4 1B7C 003E FF99 move.b [A5 - 0x67], 0x3E /* '>' */
000042EA 1B7C 0001 FF9C move.b [A5 - 0x64], 0x1
000042F0 4EBA 0026 jsr [PC + 0x26 /* 00004318 */]
label000042F4:
000042F4 4E5E unlink A6
000042F6 4E75 rts
fn000042F8:
000042F8 4E56 0000 link A6, 0
000042FC 7007 moveq.l D0, 0x07
000042FE C02E 0009 and.b D0, [A6 + 0x9]
00004302 7201 moveq.l D1, 0x01
00004304 E129 lsl D1.b, D0
00004306 302E 0008 move.w D0, [A6 + 0x8]
0000430A E640 asr D0.w, 3
0000430C 204D movea.l A0, A5
0000430E D0C0 add.w A0, D0
00004310 8328 FF98 or.b [A0 - 0x68], D1
00004314 4E5E unlink A6
00004316 4E75 rts
fn00004318:
00004318 41ED FF98 lea.l A0, [A5 - 0x68]
0000431C 4698 not.l [A0]+
0000431E 4698 not.l [A0]+
00004320 4698 not.l [A0]+
00004322 4698 not.l [A0]+
00004324 4698 not.l [A0]+
00004326 4698 not.l [A0]+
00004328 4698 not.l [A0]+
0000432A 4698 not.l [A0]+
0000432C 4E75 rts
fn0000432E:
0000432E 4E56 0000 link A6, 0
00004332 7007 moveq.l D0, 0x07
00004334 C02E 0009 and.b D0, [A6 + 0x9]
00004338 7201 moveq.l D1, 0x01
0000433A E169 lsl D1.w, D0
0000433C 302E 0008 move.w D0, [A6 + 0x8]
00004340 E640 asr D0.w, 3
00004342 204D movea.l A0, A5
00004344 D0C0 add.w A0, D0
00004346 1028 FF98 move.b D0, [A0 - 0x68]
0000434A 4880 ext.w D0
0000434C C041 and.w D0, D1
0000434E 4E5E unlink A6
00004350 4E75 rts
fn00004352:
00004352 4E56 FFFC link A6, -0x0004
00004356 48E7 0338 movem.l -[A7], D6,D7,A2,A3,A4
0000435A 3E2E 0008 move.w D7, [A6 + 0x8]
0000435E 286E 000A movea.l A4, [A6 + 0xA]
00004362 266E 000E movea.l A3, [A6 + 0xE]
00004366 7C30 moveq.l D6, 0x30
00004368 244B movea.l A2, A3
0000436A 4A47 tst.w D7
0000436C 6604 bne +0x6 /* 00004372 */
0000436E 47EA 0002 lea.l A3, [A2 + 0x2]
label00004372:
00004372 486E FFFE pea.l [A6 - 0x2]
00004376 3F3C 0017 move.w -[A7], 0x17
0000437A A9EB syscall Pack4/FP68K
0000437C 4A2C 0004 tst.b [A4 + 0x4]
00004380 675E beq +0x60 /* 000043E0 */
00004382 2F0C move.l -[A7], A4
00004384 2F0B move.l -[A7], A3
00004386 7009 moveq.l D0, 0x09
00004388 D047 add.w D0, D7
0000438A 3F00 move.w -[A7], D0
0000438C A9EB syscall Pack4/FP68K
0000438E 486E FFFE pea.l [A6 - 0x2]
00004392 3F3C 0003 move.w -[A7], 0x3
00004396 A9EB syscall Pack4/FP68K
00004398 2F0B move.l -[A7], A3
0000439A 486E FFFC pea.l [A6 - 0x4]
0000439E 701C moveq.l D0, 0x1C
000043A0 D047 add.w D0, D7
000043A2 3F00 move.w -[A7], D0
000043A4 A9EB syscall Pack4/FP68K
000043A6 4A6E FFFC tst.w [A6 - 0x4]
000043AA 6C0A bge +0xC /* 000043B6 */
000043AC 302E FFFC move.w D0, [A6 - 0x4]
000043B0 4440 neg.w D0
000043B2 3D40 FFFC move.w [A6 - 0x4], D0
label000043B6:
000043B6 0C6E 0003 FFFC cmpi.w [A6 - 0x4], 0x3
000043BC 6708 beq +0xA /* 000043C6 */
000043BE 082E 0002 FFFE btst.b [A6 - 0x2], 0x2
000043C4 6704 beq +0x6 /* 000043CA */
label000043C6:
000043C6 7C49 moveq.l D6, 0x49
000043C8 6010 bra +0x12 /* 000043DA */
label000043CA:
000043CA 0C6E 0005 FFFC cmpi.w [A6 - 0x4], 0x5
000043D0 6608 bne +0xA /* 000043DA */
000043D2 082E 0001 FFFE btst.b [A6 - 0x2], 0x1
000043D8 6728 beq +0x2A /* 00004402 */
label000043DA:
000043DA 3B7C 0022 FCEA move.w [A5 - 0x316], 0x22 /* '\"' */
label000043E0:
000043E0 0C46 0030 cmpi.w D6, 0x30 /* '0' */
000043E4 6602 bne +0x4 /* 000043E8 */
000043E6 4214 clr.b [A4]
label000043E8:
000043E8 426C 0002 clr.w [A4 + 0x2]
000043EC 197C 0001 0004 move.b [A4 + 0x4], 0x1
000043F2 1946 0005 move.b [A4 + 0x5], D6
000043F6 2F0C move.l -[A7], A4
000043F8 2F0B move.l -[A7], A3
000043FA 7009 moveq.l D0, 0x09
000043FC D047 add.w D0, D7
000043FE 3F00 move.w -[A7], D0
00004400 A9EB syscall Pack4/FP68K
label00004402:
00004402 4A47 tst.w D7
00004404 6604 bne +0x6 /* 0000440A */
00004406 34AA 0002 move.w [A2], [A2 + 0x2]
label0000440A:
0000440A 4CDF 1CC0 movem.l D6,D7,A2,A3,A4, [A7]+
0000440E 4E5E unlink A6
00004410 4E75 rts
00004412 4E56 0000 link A6, 0
00004416 48E7 0108 movem.l -[A7], D7,A4
0000441A 3E2E 0008 move.w D7, [A6 + 0x8]
0000441E 4A47 tst.w D7
00004420 6F06 ble +0x8 /* 00004428 */
00004422 0C47 0006 cmpi.w D7, 0x6
00004426 6F0A ble +0xC /* 00004432 */
label00004428:
00004428 3B7C 0016 FCEA move.w [A5 - 0x316], 0x16
0000442E 70FF moveq.l D0, 0xFFFFFFFF
00004430 6020 bra +0x22 /* 00004452 */
label00004432:
00004432 204D movea.l A0, A5
00004434 2007 move.l D0, D7
00004436 48C0 ext.l D0
00004438 E588 lsl D0, 2
0000443A D1C0 add.l A0, D0
0000443C 2868 FFB8 movea.l A4, [A0 - 0x48]
00004440 204D movea.l A0, A5
00004442 2007 move.l D0, D7
00004444 48C0 ext.l D0
00004446 E588 lsl D0, 2
00004448 D1C0 add.l A0, D0
0000444A 216E 000A FFB8 move.l [A0 - 0x48], [A6 + 0xA]
00004450 200C move.l D0, A4
label00004452:
00004452 4CDF 1080 movem.l D7,A4, [A7]+
00004456 4E5E unlink A6
00004458 4E75 rts
fn0000445A:
0000445A 4E56 0000 link A6, 0
0000445E 48E7 0108 movem.l -[A7], D7,A4
00004462 3E2E 0008 move.w D7, [A6 + 0x8]
00004466 4A47 tst.w D7
00004468 6F06 ble +0x8 /* 00004470 */
0000446A 0C47 0006 cmpi.w D7, 0x6
0000446E 6F0A ble +0xC /* 0000447A */
label00004470:
00004470 3B7C 0016 FCEA move.w [A5 - 0x316], 0x16
00004476 70FF moveq.l D0, 0xFFFFFFFF
00004478 6036 bra +0x38 /* 000044B0 */
label0000447A:
0000447A 204D movea.l A0, A5
0000447C 2007 move.l D0, D7
0000447E 48C0 ext.l D0
00004480 E588 lsl D0, 2
00004482 D1C0 add.l A0, D0
00004484 2868 FFB8 movea.l A4, [A0 - 0x48]
00004488 200C move.l D0, A4
0000448A 5380 subq.l D0, 1
0000448C 6720 beq +0x22 /* 000044AE */
0000448E 204D movea.l A0, A5
00004490 2007 move.l D0, D7
00004492 48C0 ext.l D0
00004494 E588 lsl D0, 2
00004496 D1C0 add.l A0, D0
00004498 42A8 FFB8 clr.l [A0 - 0x48]
0000449C 200C move.l D0, A4
0000449E 6608 bne +0xA /* 000044A8 */
000044A0 4267 clr.w -[A7]
000044A2 4EBA BF02 jsr [PC - 0x40FE /* 000003A6 */]
000044A6 548F addq.l A7, 2
label000044A8:
000044A8 3F07 move.w -[A7], D7
000044AA 4E94 jsr [A4]
000044AC 548F addq.l A7, 2
label000044AE:
000044AE 7000 moveq.l D0, 0x00
label000044B0:
000044B0 4CDF 1080 movem.l D7,A4, [A7]+
000044B4 4E5E unlink A6
000044B6 4E75 rts
000044B8 3F3C 0001 move.w -[A7], 0x1
000044BC 4EBA FF9C jsr [PC - 0x64 /* 0000445A */]
000044C0 4257 clr.w [A7]
000044C2 4EBA BEE2 jsr [PC - 0x411E /* 000003A6 */]
000044C6 548F addq.l A7, 2
000044C8 4E75 rts
fn000044CA:
000044CA 4E56 0000 link A6, 0
000044CE 2F0C move.l -[A7], A4
000044D0 286E 0008 movea.l A4, [A6 + 0x8]
000044D4 4A14 tst.b [A4]
000044D6 6A04 bpl +0x6 /* 000044DC */
000044D8 4EBA C51A jsr [PC - 0x3AE6 /* 000009F4 */]
label000044DC:
000044DC 4A6C 0004 tst.w [A4 + 0x4]
000044E0 661A bne +0x1C /* 000044FC */
000044E2 41EC 0002 lea.l A0, [A4 + 0x2]
000044E6 2948 0006 move.l [A4 + 0x6], A0
000044EA 2948 000E move.l [A4 + 0xE], A0
000044EE 7001 moveq.l D0, 0x01
000044F0 2940 000A move.l [A4 + 0xA], D0
000044F4 41ED 0132 lea.l A0, [A5 + 0x132 /* export_34 */]
000044F8 2948 0022 move.l [A4 + 0x22], A0
label000044FC:
000044FC 200C move.l D0, A4
000044FE 285F movea.l A4, [A7]+
00004500 4E5E unlink A6
00004502 4E75 rts
fn00004504:
00004504 4E56 0000 link A6, 0
00004508 48E7 0018 movem.l -[A7], A3,A4
0000450C 286E 0008 movea.l A4, [A6 + 0x8]
00004510 266E 000C movea.l A3, [A6 + 0xC]
00004514 204B movea.l A0, A3
00004516 50C1 st D1
label00004518:
00004518 16C0 move.b [A3]+, D0
0000451A 5201 addq.b D1, 1
0000451C 101C move.b D0, [A4]+
0000451E 66F8 bne -0x6 /* 00004518 */
00004520 1081 move.b [A0], D1
00004522 2008 move.l D0, A0
00004524 4CDF 1800 movem.l A3,A4, [A7]+
00004528 4E5E unlink A6
0000452A 4E75 rts
fn0000452C:
0000452C 4E56 0000 link A6, 0
00004530 2F2E 000C move.l -[A7], [A6 + 0xC]
00004534 4EBA 0278 jsr [PC + 0x278 /* 000047AE */]
00004538 2E80 move.l [A7], D0
0000453A 2F2E 000C move.l -[A7], [A6 + 0xC]
0000453E 2F2E 0008 move.l -[A7], [A6 + 0x8]
00004542 4EBA 002C jsr [PC + 0x2C /* 00004570 */]
00004546 202E 0008 move.l D0, [A6 + 0x8]
0000454A 4E5E unlink A6
0000454C 4E75 rts
fn0000454E:
0000454E 4E56 0000 link A6, 0
00004552 4878 FFFF push.l 0xFFFF
00004556 2F2E 000C move.l -[A7], [A6 + 0xC]
0000455A 2F2E 0008 move.l -[A7], [A6 + 0x8]
0000455E 4EBA 0010 jsr [PC + 0x10 /* 00004570 */]
00004562 206E 0008 movea.l A0, [A6 + 0x8]
00004566 08D0 0003 bset.b [A0], 0x3
0000456A 2008 move.l D0, A0
0000456C 4E5E unlink A6
0000456E 4E75 rts
fn00004570:
00004570 4E56 0000 link A6, 0
00004574 2F0C move.l -[A7], A4
00004576 286E 0008 movea.l A4, [A6 + 0x8]
0000457A 4878 0026 push.l 0x26 /* '&' */
0000457E 4267 clr.w -[A7]
00004580 2F0C move.l -[A7], A4
00004582 4EBA E9FC jsr [PC - 0x1604 /* 00002F80 */]
00004586 397C FFFF 0004 move.w [A4 + 0x4], 0xFFFF
0000458C 296E 000C 000E move.l [A4 + 0xE], [A6 + 0xC]
00004592 296E 0010 0012 move.l [A4 + 0x12], [A6 + 0x10]
00004598 41ED 0132 lea.l A0, [A5 + 0x132 /* export_34 */]
0000459C 2948 0022 move.l [A4 + 0x22], A0
000045A0 286E FFFC movea.l A4, [A6 - 0x4]
000045A4 4E5E unlink A6
000045A6 4E75 rts
export_34:
000045A8 4E56 0000 link A6, 0
000045AC 70FF moveq.l D0, 0xFFFFFFFF
000045AE 4E5E unlink A6
000045B0 4E75 rts
fn000045B2:
000045B2 4E56 0000 link A6, 0
000045B6 486E 0010 pea.l [A6 + 0x10]
000045BA 2F2E 000C move.l -[A7], [A6 + 0xC]
000045BE 2F2E 0008 move.l -[A7], [A6 + 0x8]
000045C2 4EBA 0006 jsr [PC + 0x6 /* 000045CA */]
000045C6 4E5E unlink A6
000045C8 4E75 rts
fn000045CA:
000045CA 4E56 FFDA link A6, -0x0026
000045CE 2F07 move.l -[A7], D7
000045D0 2F2E 0010 move.l -[A7], [A6 + 0x10]
000045D4 2F2E 000C move.l -[A7], [A6 + 0xC]
000045D8 2F2E 0008 move.l -[A7], [A6 + 0x8]
000045DC 486E FFDA pea.l [A6 - 0x26]
000045E0 4EBA FF6C jsr [PC - 0x94 /* 0000454E */]
000045E4 588F addq.l A7, 4
000045E6 2E80 move.l [A7], D0
000045E8 4EBA E9AE jsr [PC - 0x1652 /* 00002F98 */]
000045EC 3E00 move.w D7, D0
000045EE 4A40 tst.w D0
000045F0 4FEF 000C lea.l A7, [A7 + 0xC]
000045F4 6D08 blt +0xA /* 000045FE */
000045F6 206E 0008 movea.l A0, [A6 + 0x8]
000045FA 4230 7000 clr.b [A0 + D7.w]
label000045FE:
000045FE 3007 move.w D0, D7
00004600 2E1F move.l D7, [A7]+
00004602 4E5E unlink A6
00004604 4E75 rts
fn00004606:
00004606 4E56 0000 link A6, 0
0000460A 486E 0010 pea.l [A6 + 0x10]
0000460E 2F2E 000C move.l -[A7], [A6 + 0xC]
00004612 2F2E 0008 move.l -[A7], [A6 + 0x8]
00004616 4EBA 0006 jsr [PC + 0x6 /* 0000461E */]
0000461A 4E5E unlink A6
0000461C 4E75 rts
fn0000461E:
0000461E 4E56 FFDA link A6, -0x0026
00004622 2F2E 0010 move.l -[A7], [A6 + 0x10]
00004626 2F2E 000C move.l -[A7], [A6 + 0xC]
0000462A 2F2E 0008 move.l -[A7], [A6 + 0x8]
0000462E 486E FFDA pea.l [A6 - 0x26]
00004632 4EBA FEF8 jsr [PC - 0x108 /* 0000452C */]
00004636 588F addq.l A7, 4
00004638 2E80 move.l [A7], D0
0000463A 4EBA F358 jsr [PC - 0xCA8 /* 00003994 */]
0000463E 4E5E unlink A6
00004640 4E75 rts
fn00004642:
00004642 4E56 0000 link A6, 0
00004646 4267 clr.w -[A7]
00004648 2F2E 0008 move.l -[A7], [A6 + 0x8]
0000464C 206E 0008 movea.l A0, [A6 + 0x8]
00004650 2068 0022 movea.l A0, [A0 + 0x22]
00004654 4E90 jsr [A0]
00004656 4E5E unlink A6
00004658 4E75 rts
fn0000465A:
0000465A 4E56 0000 link A6, 0
0000465E 3F3C 0001 move.w -[A7], 0x1
00004662 2F2E 0008 move.l -[A7], [A6 + 0x8]
00004666 206E 0008 movea.l A0, [A6 + 0x8]
0000466A 2068 0022 movea.l A0, [A0 + 0x22]
0000466E 4E90 jsr [A0]
00004670 4E5E unlink A6
00004672 4E75 rts
fn00004674:
00004674 4E56 0000 link A6, 0
00004678 3F3C 0002 move.w -[A7], 0x2
0000467C 2F2E 0008 move.l -[A7], [A6 + 0x8]
00004680 206E 0008 movea.l A0, [A6 + 0x8]
00004684 2068 0022 movea.l A0, [A0 + 0x22]
00004688 4E90 jsr [A0]
0000468A 4E5E unlink A6
0000468C 4E75 rts
export_35:
0000468E 206F 0004 movea.l A0, [A7 + 0x4]
00004692 226F 0008 movea.l A1, [A7 + 0x8]
00004696 2008 move.l D0, A0
label00004698:
00004698 10D9 move.b [A0]+, [A1]+
0000469A 66FC bne -0x2 /* 00004698 */
0000469C 4E75 rts
0000469E 206F 0004 movea.l A0, [A7 + 0x4]
000046A2 226F 0008 movea.l A1, [A7 + 0x8]
000046A6 2008 move.l D0, A0
label000046A8:
000046A8 4A18 tst.b [A0]+
000046AA 66FC bne -0x2 /* 000046A8 */
000046AC 5388 subq.l A0, 1
label000046AE:
000046AE 10D9 move.b [A0]+, [A1]+
000046B0 66FC bne -0x2 /* 000046AE */
000046B2 4E75 rts
000046B4 206F 0004 movea.l A0, [A7 + 0x4]
000046B8 226F 0008 movea.l A1, [A7 + 0x8]
000046BC 7000 moveq.l D0, 0x00
000046BE 6004 bra +0x6 /* 000046C4 */
label000046C0:
000046C0 4A01 tst.b D1
000046C2 670C beq +0xE /* 000046D0 */
label000046C4:
000046C4 1218 move.b D1, [A0]+
000046C6 B219 cmp.b D1, [A1]+
000046C8 67F6 beq -0x8 /* 000046C0 */
000046CA 6202 bhi +0x4 /* 000046CE */
000046CC 5580 subq.l D0, 2
label000046CE:
000046CE 5280 addq.l D0, 1
label000046D0:
000046D0 4E75 rts
export_36:
000046D2 206F 0004 movea.l A0, [A7 + 0x4]
000046D6 122F 0009 move.b D1, [A7 + 0x9]
000046DA 7000 moveq.l D0, 0x00
000046DC 6004 bra +0x6 /* 000046E2 */
label000046DE:
000046DE 4A18 tst.b [A0]+
000046E0 6706 beq +0x8 /* 000046E8 */
label000046E2:
000046E2 B210 cmp.b D1, [A0]
000046E4 66F8 bne -0x6 /* 000046DE */
000046E6 2008 move.l D0, A0
label000046E8:
000046E8 4E75 rts
000046EA 206F 0004 movea.l A0, [A7 + 0x4]
000046EE 70FF moveq.l D0, 0xFFFFFFFF
label000046F0:
000046F0 5280 addq.l D0, 1
000046F2 1218 move.b D1, [A0]+
000046F4 670C beq +0xE /* 00004702 */
000046F6 226F 0008 movea.l A1, [A7 + 0x8]
label000046FA:
000046FA 1419 move.b D2, [A1]+
000046FC 67F2 beq -0xC /* 000046F0 */
000046FE B401 cmp.b D2, D1
00004700 66F8 bne -0x6 /* 000046FA */
label00004702:
00004702 4E75 rts
00004704 206F 0004 movea.l A0, [A7 + 0x4]
00004708 7000 moveq.l D0, 0x00
label0000470A:
0000470A 1218 move.b D1, [A0]+
0000470C 6710 beq +0x12 /* 0000471E */
0000470E 226F 0008 movea.l A1, [A7 + 0x8]
label00004712:
00004712 1419 move.b D2, [A1]+
00004714 67F4 beq -0xA /* 0000470A */
00004716 B401 cmp.b D2, D1
00004718 66F8 bne -0x6 /* 00004712 */
0000471A 5388 subq.l A0, 1
0000471C 2008 move.l D0, A0
label0000471E:
0000471E 4E75 rts
00004720 206F 0004 movea.l A0, [A7 + 0x4]
00004724 122F 0009 move.b D1, [A7 + 0x9]
00004728 7000 moveq.l D0, 0x00
label0000472A:
0000472A B210 cmp.b D1, [A0]
0000472C 6602 bne +0x4 /* 00004730 */
0000472E 2008 move.l D0, A0
label00004730:
00004730 4A18 tst.b [A0]+
00004732 66F6 bne -0x8 /* 0000472A */
00004734 4E75 rts
00004736 206F 0004 movea.l A0, [A7 + 0x4]
0000473A 7000 moveq.l D0, 0x00
0000473C 6006 bra +0x8 /* 00004744 */
label0000473E:
0000473E B401 cmp.b D2, D1
00004740 660A bne +0xC /* 0000474C */
00004742 5280 addq.l D0, 1
label00004744:
00004744 1218 move.b D1, [A0]+
00004746 6708 beq +0xA /* 00004750 */
00004748 226F 0008 movea.l A1, [A7 + 0x8]
label0000474C:
0000474C 1419 move.b D2, [A1]+
0000474E 66EE bne -0x10 /* 0000473E */
label00004750:
00004750 4E75 rts
00004752 202F 0004 move.l D0, [A7 + 0x4]
00004756 6006 bra +0x8 /* 0000475E */
label00004758:
00004758 B401 cmp.b D2, D1
0000475A 6708 beq +0xA /* 00004764 */
0000475C 5280 addq.l D0, 1
label0000475E:
0000475E 2040 movea.l A0, D0
00004760 226F 0008 movea.l A1, [A7 + 0x8]
label00004764:
00004764 1219 move.b D1, [A1]+
00004766 6706 beq +0x8 /* 0000476E */
00004768 1418 move.b D2, [A0]+
0000476A 66EC bne -0x12 /* 00004758 */
0000476C 7000 moveq.l D0, 0x00
label0000476E:
0000476E 4E75 rts
00004770 202F 0004 move.l D0, [A7 + 0x4]
00004774 6606 bne +0x8 /* 0000477C */
label00004776:
00004776 202D FFFC move.l D0, [A5 - 0x4]
0000477A 6730 beq +0x32 /* 000047AC */
label0000477C:
0000477C 42AD FFFC clr.l [A5 - 0x4]
00004780 2040 movea.l A0, D0
00004782 6006 bra +0x8 /* 0000478A */
label00004784:
00004784 B401 cmp.b D2, D1
00004786 660A bne +0xC /* 00004792 */
00004788 2008 move.l D0, A0
label0000478A:
0000478A 1218 move.b D1, [A0]+
0000478C 67E8 beq -0x16 /* 00004776 */
0000478E 226F 0008 movea.l A1, [A7 + 0x8]
label00004792:
00004792 1419 move.b D2, [A1]+
00004794 66EE bne -0x10 /* 00004784 */
label00004796:
00004796 1218 move.b D1, [A0]+
00004798 6712 beq +0x14 /* 000047AC */
0000479A 226F 0008 movea.l A1, [A7 + 0x8]
label0000479E:
0000479E 1419 move.b D2, [A1]+
000047A0 67F4 beq -0xA /* 00004796 */
000047A2 B401 cmp.b D2, D1
000047A4 66F8 bne -0x6 /* 0000479E */
000047A6 2B48 FFFC move.l [A5 - 0x4], A0
000047AA 4220 clr.b -[A0]
label000047AC:
000047AC 4E75 rts
export_37:
fn000047AE:
000047AE 70FF moveq.l D0, 0xFFFFFFFF
000047B0 206F 0004 movea.l A0, [A7 + 0x4]
label000047B4:
000047B4 5280 addq.l D0, 1
000047B6 4A18 tst.b [A0]+
000047B8 66FA bne -0x4 /* 000047B4 */
000047BA 4E75 rts
fn000047BC:
000047BC 4E56 FFFC link A6, -0x0004
000047C0 2F0C move.l -[A7], A4
000047C2 286E 000A movea.l A4, [A6 + 0xA]
000047C6 0C6E FFFF 0008 cmpi.w [A6 + 0x8], 0xFFFF
000047CC 6606 bne +0x8 /* 000047D4 */
000047CE 70FF moveq.l D0, 0xFFFFFFFF
000047D0 6000 008C bra +0x8E /* 0000485E */
label000047D4:
000047D4 2F0C move.l -[A7], A4
000047D6 4EBA FCF2 jsr [PC - 0x30E /* 000044CA */]
000047DA 4A2C 0001 tst.b [A4 + 0x1]
000047DE 588F addq.l A7, 4
000047E0 6A0A bpl +0xC /* 000047EC */
000047E2 4AAC 0012 tst.l [A4 + 0x12]
000047E6 675A beq +0x5C /* 00004842 */
000047E8 70FF moveq.l D0, 0xFFFFFFFF
000047EA 6072 bra +0x74 /* 0000485E */
label000047EC:
000047EC 202C 0012 move.l D0, [A4 + 0x12]
000047F0 B0AC 000A cmp.l D0, [A4 + 0xA]
000047F4 6622 bne +0x24 /* 00004818 */
000047F6 4AAC 000A tst.l [A4 + 0xA]
000047FA 671C beq +0x1E /* 00004818 */
000047FC 202C 0012 move.l D0, [A4 + 0x12]
00004800 91AC 0016 sub.l [A4 + 0x16], D0
00004804 42AC 0012 clr.l [A4 + 0x12]
00004808 41EC 0004 lea.l A0, [A4 + 0x4]
0000480C 2948 000E move.l [A4 + 0xE], A0
00004810 08EC 0007 0001 bset.b [A4 + 0x1], 0x7
00004816 602A bra +0x2C /* 00004842 */
label00004818:
00004818 202C 000E move.l D0, [A4 + 0xE]
0000481C B0AC 0006 cmp.l D0, [A4 + 0x6]
00004820 6620 bne +0x22 /* 00004842 */
00004822 2F2C 0012 move.l -[A7], [A4 + 0x12]
00004826 2F2C 0006 move.l -[A7], [A4 + 0x6]
0000482A 202C 000A move.l D0, [A4 + 0xA]
0000482E 90AC 0012 sub.l D0, [A4 + 0x12]
00004832 D1AC 000E add.l [A4 + 0xE], D0
00004836 2F2C 000E move.l -[A7], [A4 + 0xE]
0000483A 4EBA E6DE jsr [PC - 0x1922 /* 00002F1A */]
0000483E 4FEF 000C lea.l A7, [A7 + 0xC]
label00004842:
00004842 0894 0005 bclr.b [A4], 0x5
00004846 52AC 0012 addq.l [A4 + 0x12], 1
0000484A 53AC 000E subq.l [A4 + 0xE], 1
0000484E 206C 000E movea.l A0, [A4 + 0xE]
00004852 102E 0009 move.b D0, [A6 + 0x9]
00004856 1080 move.b [A0], D0
00004858 7200 moveq.l D1, 0x00
0000485A 1200 move.b D1, D0
0000485C 3001 move.w D0, D1
label0000485E:
0000485E 285F movea.l A4, [A7]+
00004860 4E5E unlink A6
00004862 4E75 rts